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: Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
Danielb15489a4cf23
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 22c9428ae5..0616dba488 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -1662,6 +1662,15 @@ func genAttrViewViewGroups(view *av.View, attrView *av.AttributeView) {}}}++ if av.GroupOrderMan != view.Group.Order {+ sort.SliceStable(view.Groups, func(i, j int) bool {+ if av.GroupOrderAsc == view.Group.Order {+ return view.Groups[i].Name < view.Groups[j].Name+ }+ return view.Groups[i].Name > view.Groups[j].Name+ })+ }}func isGroupByDate(view *av.View) bool {