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

Daniel287edba74c21
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index e7f15b1a4e..5e0a6239ea 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -1519,8 +1519,9 @@ func renderAttributeView(attrView *av.AttributeView, blockID, viewID, query stri
regenAttrViewViewGroups(attrView, "force")
av.SaveAttributeView(attrView)
}
+ }
- groupKey := view.GetGroupKey(attrView)
+ if groupKey := view.GetGroupKey(attrView); nil != groupKey {
for _, groupView := range view.Groups {
switch groupView.GroupValue {
case groupValueDefault: