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/15571
Daniel91207ba529d5
diff --git a/kernel/av/filter.go b/kernel/av/filter.goindex 6511483940..ab50203f1a 100644--- a/kernel/av/filter.go+++ b/kernel/av/filter.go@@ -360,10 +360,6 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa}case KeyTypeSelect, KeyTypeMSelect:if nil != value.MSelect {- if nil == other || nil == other.MSelect || 1 > len(other.MSelect) {- return true- }-switch operator {case FilterOperatorIsEqual, FilterOperatorContains:contains := false@@ -387,12 +383,7 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa}}return !contains- case FilterOperatorIsEmpty:- return 0 == len(value.MSelect) || 1 == len(value.MSelect) && "" == value.MSelect[0].Content- case FilterOperatorIsNotEmpty:- return 0 != len(value.MSelect) && !(1 == len(value.MSelect) && "" == value.MSelect[0].Content)}- return false}case KeyTypeURL:if nil != value.URL && nil != other && nil != other.URL {