mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
1475fd9747
commit
2155a56a7b
2 changed files with 10 additions and 3 deletions
|
|
@ -48,8 +48,9 @@ func getBackmentionDoc(c *gin.Context) {
|
|||
}
|
||||
|
||||
defID := arg["defID"].(string)
|
||||
refTreeID := arg["refTreeID"].(string)
|
||||
keyword := ""
|
||||
backlinks := model.GetBackmentionDoc(defID, keyword)
|
||||
backlinks := model.GetBackmentionDoc(defID, refTreeID, keyword)
|
||||
ret.Data = map[string]interface{}{
|
||||
"backmentions": backlinks,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue