🎨 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
|
||||
})
|
||||
|
||||
mentionsCount = len(backmentions)
|
||||
for _, backmention := range backmentions {
|
||||
mentionsCount += backmention.Count
|
||||
}
|
||||
|
||||
// 添加笔记本名称
|
||||
var boxIDs []string
|
||||
|
|
Loading…
Add table
Reference in a new issue