mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 Backlink count at the doc block title including sub-blocks https://github.com/siyuan-note/siyuan/issues/13791
This commit is contained in:
parent
c6e06b9f21
commit
34fa102296
5 changed files with 83 additions and 40 deletions
|
|
@ -359,7 +359,7 @@ func TransferBlockRef(fromID, toID string, refIDs []string) (err error) {
|
|||
util.PushMsg(Conf.Language(116), 7000)
|
||||
|
||||
if 1 > len(refIDs) { // 如果不指定 refIDs,则转移所有引用了 fromID 的块
|
||||
refIDs, _ = sql.QueryRefIDsByDefID(fromID, false)
|
||||
refIDs = sql.QueryRefIDsByDefID(fromID, false)
|
||||
}
|
||||
|
||||
trees := filesys.LoadTrees(refIDs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue