mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 16:26:09 +01:00
🎨 Repeated references to the same block within a block only count as one reference Fix https://github.com/siyuan-note/siyuan/issues/9670
This commit is contained in:
parent
cbc005119a
commit
6bb89ed2e5
2 changed files with 23 additions and 4 deletions
|
|
@ -73,8 +73,8 @@ func removeDuplicateDatabaseRefs() {
|
|||
refreshRefsByDefID(rootID)
|
||||
}
|
||||
|
||||
if 0 < len(duplicatedRootIDs) {
|
||||
logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", len(duplicatedRootIDs))
|
||||
for _, rootID := range duplicatedRootIDs {
|
||||
logging.LogWarnf("exist more than one ref duplicated [%s], reindex it", rootID)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue