Skip to content

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

:art: Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964

Danielddba6b1fd8a0
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index ba0e94347d..93b0afb390 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -62,8 +62,7 @@ func removeAttributeViewGroup(avID, blockID string) (err error) {
return err
}
- view.Group, view.Groups = nil, nil
-
+ view.Group, view.Groups, view.GroupUpdated = nil, nil, 0
err = av.SaveAttributeView(attrView)
if err != nil {
logging.LogErrorf("save attribute view [%s] failed: %s", avID, err)