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: Support modifying the primary key value of the binding block https://github.com/siyuan-note/siyuan/issues/9892
Danielea705bfbd5ee
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 63e8dc22c5..ca1c2b629d 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -1880,10 +1880,6 @@ func bindBlockAv(tx *Transaction, avID, blockID string) {attrs[av.NodeAttrNameAvs] = avID} else {avIDs := strings.Split(attrs[av.NodeAttrNameAvs], ",")- if gulu.Str.Contains(avID, avIDs) {- return- }-avIDs = append(avIDs, avID)avIDs = gulu.Str.RemoveDuplicatedElem(avIDs)attrs[av.NodeAttrNameAvs] = strings.Join(avIDs, ",")