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/15645
Daniel4a0c4506e8f3
diff --git a/kernel/av/filter.go b/kernel/av/filter.goindex d4539fc07a..ed0bb56359 100644--- a/kernel/av/filter.go+++ b/kernel/av/filter.go@@ -361,7 +361,12 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDacase KeyTypeSelect, KeyTypeMSelect:if nil != value.MSelect {if 1 > len(other.MSelect) {- return true+ switch operator {+ case FilterOperatorIsEmpty:+ return value.IsEmpty()+ case FilterOperatorIsNotEmpty:+ return !value.IsEmpty()+ }}switch operator {