🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958

This commit is contained in:
Daniel 2023-12-30 23:01:21 +08:00
parent 8bf3efb355
commit 6a8602c1cd
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 43 additions and 9 deletions

View file

@ -547,7 +547,7 @@ func renderAttributeView(attrView *av.AttributeView, viewID string, page, pageSi
viewable, err = renderAttributeViewTable(attrView, view)
}
viewable.FilterRows()
viewable.FilterRows(attrView)
viewable.SortRows()
viewable.CalcCols()
@ -1566,7 +1566,7 @@ func addAttributeViewBlock(blockID string, operation *Operation, tree *parse.Tre
view, _ := attrView.GetCurrentView()
if nil != view && 0 < len(view.Table.Filters) {
viewable, _ := renderAttributeViewTable(attrView, view)
viewable.FilterRows()
viewable.FilterRows(attrView)
viewable.SortRows()
addedVal := false