🎨 No paging when searching by document group https://github.com/siyuan-note/siyuan/issues/11667

This commit is contained in:
Daniel 2024-06-12 16:56:34 +08:00
parent a34b73551d
commit f7167a603d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -852,8 +852,8 @@ func FullTextSearchBlock(query string, boxes, paths []string, types map[string]b
}
if 1 == groupBy {
// 按文档分组时使用搜索设置限制 Search `Group by doc` follows the search setting limit display https://github.com/siyuan-note/siyuan/issues/11667
pageSize = Conf.Search.Limit
// 按文档分组搜索时不进行分页 No paging when searching by document group https://github.com/siyuan-note/siyuan/issues/11667
pageSize = math.MaxInt
}
beforeLen := 36