mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
✨ Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
b357047290
commit
17c59cb2ca
11 changed files with 64 additions and 69 deletions
|
|
@ -24,13 +24,6 @@ import (
|
|||
"github.com/siyuan-note/siyuan/kernel/util"
|
||||
)
|
||||
|
||||
// Sortable 接口定义了可排序的视图类型。
|
||||
type Sortable interface {
|
||||
|
||||
// Sort 根据视图中设置的排序规则进行排序。
|
||||
Sort(attrView *AttributeView)
|
||||
}
|
||||
|
||||
// ViewSort 描述了视图排序规则的结构。
|
||||
type ViewSort struct {
|
||||
Column string `json:"column"` // 列(字段)ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue