mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958
This commit is contained in:
parent
8bf3efb355
commit
6a8602c1cd
3 changed files with 43 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue