mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15: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
|
|
@ -438,11 +438,9 @@ func getRefIDs(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
refIDs, refTexts, defIDs, originalRefBlockIDs := model.GetBlockRefs(id, true)
|
||||
refDefs, originalRefBlockIDs := model.GetBlockRefs(id)
|
||||
ret.Data = map[string]any{
|
||||
"refIDs": refIDs,
|
||||
"refTexts": refTexts,
|
||||
"defIDs": defIDs,
|
||||
"refDefs": refDefs,
|
||||
"originalRefBlockIDs": originalRefBlockIDs,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue