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

This commit is contained in:
Liang Ding 2022-11-27 11:10:20 +08:00
parent 8e3c731b97
commit b84ce0506f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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
}