mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +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
ae7eaebf9e
commit
1a991bf20f
3 changed files with 8 additions and 11 deletions
|
|
@ -369,9 +369,8 @@ func queryDocRefDefs(rootID string) (refDefs []*RefDefs) {
|
|||
return
|
||||
}
|
||||
|
||||
func GetBlockRefIDsByFileAnnotationID(id string) (refIDs, refTexts []string) {
|
||||
refIDs, refTexts = sql.QueryRefIDsByAnnotationID(id)
|
||||
return
|
||||
func GetBlockRefIDsByFileAnnotationID(id string) []string {
|
||||
return sql.QueryRefIDsByAnnotationID(id)
|
||||
}
|
||||
|
||||
func GetBlockDefIDsByRefText(refText string, excludeIDs []string) (ret []string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue