mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 23:36:10 +01:00
🎨 搜索支持按文档分组展现搜索结果 https://github.com/siyuan-note/siyuan/issues/4772
This commit is contained in:
parent
8e3c731b97
commit
b84ce0506f
1 changed files with 3 additions and 0 deletions
|
|
@ -289,6 +289,9 @@ func FullTextSearchBlock(query, box, path string, types map[string]bool, querySy
|
|||
default:
|
||||
ret = blocks
|
||||
}
|
||||
if 1 > len(ret) {
|
||||
ret = []*Block{}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue