An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
Daniel396450a2ec99
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 11a139036e..9406315e8c 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -4936,8 +4936,11 @@ func setAttributeViewColumnOptionDesc(operation *Operation) (err error) {}func getAttrViewViewByBlockID(attrView *av.AttributeView, blockID string) (ret *av.View, err error) {- node, _, _ := getNodeByBlockID(nil, blockID)var viewID string+ var node *ast.Node+ if "" != blockID {+ node, _, _ = getNodeByBlockID(nil, blockID)+ }if nil != node {viewID = node.IALAttr(av.NodeAttrView)}diff --git a/kernel/model/transaction.go b/kernel/model/transaction.goindex a9a0aff788..0734a05eb4 100644--- a/kernel/model/transaction.go+++ b/kernel/model/transaction.go@@ -1006,6 +1006,7 @@ func syncDelete2AttributeView(node *ast.Node) (changedAvIDs []string) {}if changedAv {+ regenAttrViewViewGroups(attrView, "force")av.SaveAttributeView(attrView)changedAvIDs = append(changedAvIDs, avID)}