An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:memo: Database rollup field filtering rules support "Any", "All", and "None" https://github.com/siyuan-note/siyuan/issues/15609
Daniel8ebb617072ea
diff --git a/kernel/av/filter.go b/kernel/av/filter.goindex 0ddc1f8155..6584f9f591 100644--- a/kernel/av/filter.go+++ b/kernel/av/filter.go@@ -193,19 +193,8 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID sswitch filter.Qualifier {case FilterQuantifierUndefined, FilterQuantifierAny:for _, content := range value.Rollup.Contents {- switch filter.Operator {- case FilterOperatorContains:- if content.filter(filter.Value.Rollup.Contents[0], filter.RelativeDate, filter.RelativeDate2, filter.Operator) {- return true- }- case FilterOperatorDoesNotContain:- if !content.filter(filter.Value.Rollup.Contents[0], filter.RelativeDate, filter.RelativeDate2, filter.Operator) {- return false- }- default:- if content.filter(filter.Value.Rollup.Contents[0], filter.RelativeDate, filter.RelativeDate2, filter.Operator) {- return true- }+ if content.filter(filter.Value.Rollup.Contents[0], filter.RelativeDate, filter.RelativeDate2, filter.Operator) {+ return true}}case FilterQuantifierAll: