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

Danielc64d68c71d19
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index d303ba23b8..30cd527b6d 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -1566,6 +1566,9 @@ func renderAttributeView(attrView *av.AttributeView, blockID, viewID, query stri
}
}
viewable.SetGroups(groups)
+
+ // 将总的视图上的项目清空,减少冗余
+ viewable.(av.Collection).SetItems(nil)
}
return
}