Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Revert https://github.com/siyuan-note/siyuan/issues/11667

Daniel0de9ecb61bb8
diff --git a/kernel/model/search.go b/kernel/model/search.go
index e0e837543c..3faf632ef5 100644
--- a/kernel/model/search.go
+++ b/kernel/model/search.go
@@ -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)