word_search: fix english search, filter '%'
This commit is contained in:
@@ -93,7 +93,7 @@ String _filterFTSSensitiveCharacters(String word) {
|
||||
_filterFTSSensitiveCharacters(word),
|
||||
_filterFTSSensitiveCharacters(word),
|
||||
if (!countOnly) pageSize,
|
||||
word,
|
||||
_filterFTSSensitiveCharacters(word),
|
||||
if (!countOnly) pageSize,
|
||||
]
|
||||
);
|
||||
@@ -193,9 +193,9 @@ Future<List<ScoredEntryId>> _queryEnglish(
|
||||
.trim(),
|
||||
[
|
||||
word,
|
||||
'%$word%',
|
||||
'%$word%',
|
||||
'%$word%',
|
||||
word,
|
||||
word,
|
||||
'%${word.replaceAll('%', '')}%',
|
||||
pageSize,
|
||||
offset,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user