🔖 Release v2.1.10

This commit is contained in:
Liang Ding 2022-08-28 13:02:07 +08:00
parent 4a71829400
commit 560f34e5ae
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
10 changed files with 49 additions and 23 deletions

View file

@ -331,8 +331,6 @@ func fullTextSearchCount(query, box, path, filter string) (matchedBlockCount, ma
}
func fullTextSearch(query, box, path, filter string, beforeLen int, querySyntax bool) (ret []*Block, matchedBlockCount, matchedRootCount int) {
fullTextSearchHistory(query, 1)
query = gulu.Str.RemoveInvisible(query)
if util.IsIDPattern(query) {
ret, matchedBlockCount, matchedRootCount = searchBySQL("SELECT * FROM `blocks` WHERE `id` = '"+query+"'", beforeLen)