mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
This commit is contained in:
parent
ff4344ba40
commit
6cffe637dd
2 changed files with 8 additions and 4 deletions
|
|
@ -409,7 +409,7 @@ func SaveAttributeView(av *AttributeView) (err error) {
|
||||||
|
|
||||||
// 分页大小
|
// 分页大小
|
||||||
if 1 > view.PageSize {
|
if 1 > view.PageSize {
|
||||||
view.Table.PageSize = ViewDefaultPageSize
|
view.PageSize = ViewDefaultPageSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,13 @@ type BaseLayout struct {
|
||||||
ID string `json:"id"` // 布局 ID
|
ID string `json:"id"` // 布局 ID
|
||||||
|
|
||||||
// 以下三个字段已经废弃,计划于 2026 年 6 月 30 日后删除 https://github.com/siyuan-note/siyuan/issues/15162
|
// 以下三个字段已经废弃,计划于 2026 年 6 月 30 日后删除 https://github.com/siyuan-note/siyuan/issues/15162
|
||||||
Filters []*ViewFilter `json:"filters,omitempty"` // 过滤规则
|
|
||||||
Sorts []*ViewSort `json:"sorts,omitempty"` // 排序规则
|
//Deprecated
|
||||||
PageSize int `json:"pageSize,omitempty"` // 每页条目数
|
Filters []*ViewFilter `json:"filters,omitempty"` //Deprecated 过滤规则
|
||||||
|
//Deprecated
|
||||||
|
Sorts []*ViewSort `json:"sorts,omitempty"` //Deprecated 排序规则
|
||||||
|
//Deprecated
|
||||||
|
PageSize int `json:"pageSize,omitempty"` //Deprecated 每页条目数
|
||||||
}
|
}
|
||||||
|
|
||||||
// BaseValue 描述了字段值的基础结构。
|
// BaseValue 描述了字段值的基础结构。
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue