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: Fix https://github.com/siyuan-note/siyuan/issues/15183
Danielf3bcfce4e186
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 4ca04e7216..b61b6c436b 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -601,6 +601,12 @@ func GetAttributeViewFilterSort(avID, blockID string) (filters []*av.ViewFilter,filters = view.Filterssorts = view.Sorts+ if 1 > len(filters) {+ filters = []*av.ViewFilter{}+ }+ if 1 > len(sorts) {+ sorts = []*av.ViewSort{}+ }return}