🎨 Improve floating window backlink https://github.com/siyuan-note/siyuan/issues/13371
This commit is contained in:
parent
29d2a9218c
commit
d866dbf98a
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ func GetDocInfo(blockID string) (ret *BlockInfo) {
|
|||
}
|
||||
}
|
||||
|
||||
ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, false)
|
||||
ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, Conf.Editor.BacklinkContainChildren)
|
||||
buildBacklinkListItemRefs(&ret.RefIDs)
|
||||
ret.RefCount = len(ret.RefIDs) // 填充块引计数
|
||||
|
||||
|
@ -163,7 +163,7 @@ func GetDocsInfo(blockIDs []string, queryRefCount bool, queryAv bool) (rets []*B
|
|||
}
|
||||
}
|
||||
if queryRefCount {
|
||||
ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, false)
|
||||
ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, Conf.Editor.BacklinkContainChildren)
|
||||
ret.RefCount = len(ret.RefIDs) // 填充块引计数
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue