mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
✨ Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
b77f3907f7
commit
276ea42188
5 changed files with 27 additions and 13 deletions
|
|
@ -49,7 +49,8 @@ type BaseInstance struct {
|
|||
HideAttrViewName bool `json:"hideAttrViewName"` // 是否隐藏属性视图名称
|
||||
Filters []*ViewFilter `json:"filters"` // 过滤规则
|
||||
Sorts []*ViewSort `json:"sorts"` // 排序规则
|
||||
PageSize int `json:"pageSize"` // 每页项目
|
||||
Group *ViewGroup `json:"group"` // 分组规则
|
||||
PageSize int `json:"pageSize"` // 每页项目数
|
||||
}
|
||||
|
||||
func (baseInstance *BaseInstance) GetSorts() []*ViewSort {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue