소스 검색

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

Daniel 1 년 전
부모
커밋
0de9ecb61b
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      kernel/model/search.go

+ 0 - 5
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)