Selaa lähdekoodia

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

Daniel 1 vuosi sitten
vanhempi
commit
0de9ecb61b
1 muutettua tiedostoa jossa 0 lisäystä ja 5 poistoa
  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)