mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 19:38:48 +01:00
✨ Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
17c59cb2ca
commit
2234e7877a
1 changed files with 1 additions and 1 deletions
|
|
@ -1291,6 +1291,7 @@ func renderAttributeView(attrView *av.AttributeView, viewID, query string, page,
|
|||
return
|
||||
}
|
||||
|
||||
// 如果存在分组的话渲染分组视图视图
|
||||
var groups []av.Viewable
|
||||
for _, groupView := range view.Groups {
|
||||
groupView.Table.Columns = view.Table.Columns
|
||||
|
|
@ -1299,7 +1300,6 @@ func renderAttributeView(attrView *av.AttributeView, viewID, query string, page,
|
|||
if nil != err {
|
||||
return
|
||||
}
|
||||
|
||||
groups = append(groups, groupViewable)
|
||||
}
|
||||
viewable.SetGroups(groups)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue