🎨 Backlink count at the doc block title including sub-blocks https://github.com/siyuan-note/siyuan/issues/13791

This commit is contained in:
Daniel 2025-01-12 21:19:03 +08:00
parent ae7eaebf9e
commit 1a991bf20f
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 8 additions and 11 deletions

View file

@ -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) {