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

Daniel95dfaea666d2
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index f8e80ac551..f90868e69e 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -180,15 +180,11 @@ func (tx *Transaction) doHideAttrViewGroup(operation *Operation) (ret *TxErr) {
func hideAttributeViewGroup(avID, blockID, groupID string, hidden int) (err error) {
attrView, err := av.ParseAttributeView(avID)
if err != nil {
- return err
+ return
}
view, err := getAttrViewViewByBlockID(attrView, blockID)
if err != nil {
- return err
- }
-
- if nil == view.Group {
return
}