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: The database rollup field supports using the template field https://github.com/siyuan-note/siyuan/issues/12384
Daniel92265f95c934
diff --git a/kernel/sql/av.go b/kernel/sql/av.goindex a1175dd19a..85db7c0f8d 100644--- a/kernel/sql/av.go+++ b/kernel/sql/av.go@@ -352,7 +352,7 @@ func fillAttributeViewAutoGeneratedValues(attrView *av.AttributeView, collectionfor _, blockID := range relVal.Relation.BlockIDs {destVal := destAv.GetValue(rollupKey.Rollup.KeyID, blockID)- if nil != viewable && nil == destVal && av.KeyTypeTemplate == destKey.Type {+ if nil != viewable && av.KeyTypeTemplate == destKey.Type {destVal = viewable.(av.Collection).GetValue(blockID, destKey.ID)}