Fix _build.list.local logic

Fixes #7089
This commit is contained in:
Bjørn Erik Pedersen
2020-03-24 11:47:05 +01:00
parent 971b28904b
commit 523d51948f
5 changed files with 10 additions and 15 deletions

View File

@@ -612,8 +612,8 @@ func (pm *pageMeta) setMetadata(parentBucket *pagesMapBucket, p *pageState, fron
return nil
}
func (p *pageMeta) noList() bool {
return !p.buildConfig.ShouldList()
func (p *pageMeta) noListAlways() bool {
return p.buildConfig.List != pagemeta.Always
}
func (p *pageMeta) getListFilter(local bool) contentTreeNodeCallback {