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: Improve av https://github.com/siyuan-note/siyuan/issues/15567
Daniel30b5473c7600
diff --git a/kernel/sql/av.go b/kernel/sql/av.goindex 398d38c028..7fc8d54bcc 100644--- a/kernel/sql/av.go+++ b/kernel/sql/av.go@@ -242,6 +242,9 @@ func RenderTemplateField(ial map[string]string, keyValues []*av.KeyValues, tplCoreturn}ret = buf.String()+ if ret == "<no value>" {+ ret = ""+ }return}@@ -506,7 +509,7 @@ func fillAttributeViewAutoGeneratedValues(attrView *av.AttributeView, collection}}-func fillAttributeViewTemplateValues(attrView *av.AttributeView, collection av.Collection, ials map[string]map[string]string, items map[string][]*av.KeyValues) (err error) {+func fillAttributeViewTemplateValues(attrView *av.AttributeView, collection av.Collection, ials map[string]map[string]string, items map[string][]*av.KeyValues, renderedTemplateKeyCollections map[string]av.Collection) (err error) {existTemplateField := falsefor _, kVals := range attrView.KeyValues {if av.KeyTypeTemplate == kVals.Key.Type {