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: Count backlink mentions using total occurrences https://github.com/siyuan-note/siyuan/issues/11173
Daniel070e2667b603
diff --git a/kernel/model/backlink.go b/kernel/model/backlink.goindex d323d74944..360c336fb5 100644--- a/kernel/model/backlink.go+++ b/kernel/model/backlink.go@@ -315,7 +315,9 @@ func GetBacklink2(id, keyword, mentionKeyword string, sortMode, mentionSortModereturn backmentions[i].ID > backmentions[j].ID})- mentionsCount = len(backmentions)+ for _, backmention := range backmentions {+ mentionsCount += backmention.Count+ }// 添加笔记本名称var boxIDs []string