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: Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888
Danielbfae99fe3dfd
diff --git a/kernel/av/table.go b/kernel/av/table.goindex 3c9d116585..830d4e7404 100644--- a/kernel/av/table.go+++ b/kernel/av/table.go@@ -614,7 +614,7 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) boolcontains := falsefor _, c := range value.Relation.Contents {for _, c1 := range other.Relation.Contents {- if c == c1 {+ if strings.Contains(c, c1) {contains = truebreak}@@ -624,8 +624,8 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) boolcase FilterOperatorDoesNotContain:contains := falsefor _, c := range value.Relation.Contents {- for _, c2 := range other.Relation.Contents {- if c == c2 {+ for _, c1 := range other.Relation.Contents {+ if strings.Contains(c, c1) {contains = truebreak}