This commit is contained in:
Daniel 2025-07-25 15:20:56 +08:00
parent 526bd76c4c
commit 49cc87381c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 29 additions and 20 deletions

View file

@ -67,7 +67,7 @@ func Sort(viewable Viewable, attrView *AttributeView) {
val := items[i].GetValues()[fieldIndexSort.Index]
if KeyTypeCheckbox == val.Type {
if block := item.GetBlockValue(); nil != block && block.IsEdited() {
// 如果主键编辑过,则选框也算作编辑过,参与排序 https://github.com/siyuan-note/siyuan/issues/11016
// 如果主键编辑过,则选框也算作编辑过,参与排序 https://github.com/siyuan-note/siyuan/issues/11016
editedValItems[item.GetID()] = true
break
}