🎨 搜索支持按文档分组展现搜索结果 https://github.com/siyuan-note/siyuan/issues/4772

This commit is contained in:
Liang Ding 2022-11-26 22:34:28 +08:00
parent 2ce8ce79bd
commit f678a8877e
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 1 additions and 4 deletions

View file

@ -213,7 +213,7 @@ func fullTextSearchBlock(c *gin.Context) {
querySyntax = querySyntaxArg.(bool)
}
groupByArg := arg["groupBy"]
var groupBy int // 0不分组1按文档分组2按文档树结构分组
var groupBy int // 0不分组1按文档分组
if nil != groupByArg {
groupBy = int(groupByArg.(float64))
}