mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve database rollup field filtering https://github.com/siyuan-note/siyuan/issues/15740
This commit is contained in:
parent
7b2e48d54e
commit
04c46b3a56
5 changed files with 69 additions and 57 deletions
|
@ -377,7 +377,9 @@ func renderViewableInstance(viewable av.Viewable, view *av.View, attrView *av.At
|
|||
return
|
||||
}
|
||||
|
||||
av.Filter(viewable, attrView)
|
||||
cachedAttrViews := map[string]*av.AttributeView{}
|
||||
rollupFurtherCollections := sql.GetFurtherCollections(attrView, cachedAttrViews)
|
||||
av.Filter(viewable, attrView, rollupFurtherCollections, cachedAttrViews)
|
||||
av.Sort(viewable, attrView)
|
||||
av.Calc(viewable, attrView)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue