This commit is contained in:
Daniel 2024-06-12 17:35:57 +08:00
parent f7167a603d
commit 0de9ecb61b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -851,11 +851,6 @@ func FullTextSearchBlock(query string, boxes, paths []string, types map[string]b
query = trimQuery
}
if 1 == groupBy {
// 按文档分组搜索时不进行分页 No paging when searching by document group https://github.com/siyuan-note/siyuan/issues/11667
pageSize = math.MaxInt
}
beforeLen := 36
var blocks []*Block
orderByClause := buildOrderBy(query, method, orderBy)