Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve two-way relation column name placeholder https://github.com/siyuan-note/siyuan/issues/11361

Daniel9c83f0a8ab47
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 6bfa2b04d7..4d58921dea 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -1603,6 +1603,7 @@ func updateAttributeViewColRelation(operation *Operation) (err error) {
name := strings.TrimSpace(operation.Name)
if "" == name {
name = srcAv.Name + " " + operation.Format
+ name = strings.TrimSpace(name)
}
destKeyValues := &av.KeyValues{