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/15540
Danielbbe200136684
diff --git a/kernel/av/filter.go b/kernel/av/filter.goindex 9f190787f6..65ef4330f2 100644--- a/kernel/av/filter.go+++ b/kernel/av/filter.go@@ -853,6 +853,11 @@ func (filter *ViewFilter) GetAffectValue(key *Key, addingBlockID string) (ret *V}}+ if FilterOperatorIsNotEmpty == filter.Operator {+ // 在过滤非空值的情况下,不设置默认值 https://github.com/siyuan-note/siyuan/issues/15540+ return nil+ }+ret = filter.Value.Clone()ret.ID = ast.NewNodeID()ret.KeyID = key.ID