Revert Document block sort value changed from 0 to 100 https://github.com/siyuan-note/siyuan/issues/12886

This commit is contained in:
Daniel 2024-10-24 01:08:10 +08:00
parent da341269cd
commit 94f378aa55
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 33 additions and 34 deletions

View file

@ -945,7 +945,6 @@ func FullTextSearchBlock(query string, boxes, paths []string, types map[string]b
typeFilter := buildTypeFilter(types)
boxFilter := buildBoxesFilter(boxes)
pathFilter := buildPathsFilter(paths)
blocks, matchedBlockCount, matchedRootCount = fullTextSearchByKeyword(query, boxFilter, pathFilter, typeFilter, ignoreFilter, orderByClause, beforeLen, page, pageSize)
}
pageCount = (matchedBlockCount + pageSize - 1) / pageSize