Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: https://github.com/siyuan-note/siyuan/issues/15550

Daniel3d1d0c6def51
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 9f3a190000..1213b8bf37 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -3606,11 +3606,11 @@ func sortAttributeViewRow(operation *Operation) (err error) {
}
}
targetGroupView.GroupItemIDs = util.InsertElem(targetGroupView.GroupItemIDs, previousIndex, itemID)
+ }
- if av.KeyTypeMSelect == groupKey.Type || av.KeyTypeRelation == groupKey.Type {
- // 跨多选分组时一个项目可能会同时存在于多个分组中,需要重新生成分组
- regenAttrViewGroups(attrView, "force")
- }
+ if av.KeyTypeMSelect == groupKey.Type || av.KeyTypeRelation == groupKey.Type {
+ // 跨多选分组时一个项目可能会同时存在于多个分组中,需要重新生成分组
+ regenAttrViewGroups(attrView, "force")
}
} else { // 同分组内排序
for i, r := range groupView.GroupItemIDs {