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

Danielf44f9dd5c0dc
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index d2793445da..f8e80ac551 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -202,9 +202,9 @@ func hideAttributeViewGroup(avID, blockID, groupID string, hidden int) (err erro
err = av.SaveAttributeView(attrView)
if err != nil {
logging.LogErrorf("save attribute view [%s] failed: %s", avID, err)
- return err
+ return
}
- return nil
+ return
}
func (tx *Transaction) doFoldAttrViewGroup(operation *Operation) (ret *TxErr) {