mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 搜索支持按文档分组展现搜索结果 https://github.com/siyuan-note/siyuan/issues/4772
This commit is contained in:
parent
2ce8ce79bd
commit
f678a8877e
2 changed files with 1 additions and 4 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue