An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://github.com/siyuan-note/siyuan/issues/15915
Daniel16a8e4926c7f
diff --git a/kernel/av/filter.go b/kernel/av/filter.goindex e4066e3084..9acb813ceb 100644--- a/kernel/av/filter.go+++ b/kernel/av/filter.go@@ -541,10 +541,11 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDareturn !value.Checkbox.Checked}}- case KeyTypeRelation:+ case KeyTypeRelation: // 过滤汇总字段,并且汇总目标是关联字段时才会进入该分支if nil != value.Relation && 0 < len(value.Relation.Contents) && nil != value.Relation.Contents[0].Block &&- nil != other && nil != other.Relation && 0 < len(other.Relation.Contents) && nil != other.Relation.Contents[0].Block {- return filterTextContent(operator, value.Relation.Contents[0].Block.Content, other.Relation.Contents[0].Block.Content)+ nil != other && nil != other.Relation && 0 < len(other.Relation.BlockIDs) {+ filterValue := &Value{Type: KeyTypeBlock, Block: &ValueBlock{Content: other.Relation.BlockIDs[0]}}+ return filterTextContent(operator, value.Relation.Contents[0].Block.Content, filterValue.Block.Content)}}return false