mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Count backlink mentions using total occurrences https://github.com/siyuan-note/siyuan/issues/11173
This commit is contained in:
parent
544df28920
commit
070e2667b6
1 changed files with 3 additions and 1 deletions
|
|
@ -315,7 +315,9 @@ func GetBacklink2(id, keyword, mentionKeyword string, sortMode, mentionSortMode
|
||||||
return backmentions[i].ID > backmentions[j].ID
|
return backmentions[i].ID > backmentions[j].ID
|
||||||
})
|
})
|
||||||
|
|
||||||
mentionsCount = len(backmentions)
|
for _, backmention := range backmentions {
|
||||||
|
mentionsCount += backmention.Count
|
||||||
|
}
|
||||||
|
|
||||||
// 添加笔记本名称
|
// 添加笔记本名称
|
||||||
var boxIDs []string
|
var boxIDs []string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue