🎨 位于超级块中的嵌入块不显示面包屑 Fix https://github.com/siyuan-note/siyuan/issues/6258

This commit is contained in:
Liang Ding 2022-10-18 20:41:20 +08:00
parent 4b84d6abd1
commit 6352273052
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 22 additions and 9 deletions

View file

@ -127,6 +127,7 @@ func searchEmbedBlock(c *gin.Context) {
return
}
embedBlockID := arg["embedBlockID"].(string)
stmt := arg["stmt"].(string)
excludeIDsArg := arg["excludeIDs"].([]interface{})
var excludeIDs []string
@ -144,7 +145,7 @@ func searchEmbedBlock(c *gin.Context) {
breadcrumb = breadcrumbArg.(bool)
}
blocks := model.SearchEmbedBlock(stmt, excludeIDs, headingMode, breadcrumb)
blocks := model.SearchEmbedBlock(embedBlockID, stmt, excludeIDs, headingMode, breadcrumb)
ret.Data = map[string]interface{}{
"blocks": blocks,
}