diff --git a/lib/search/word_search/entry_id_query.dart b/lib/search/word_search/entry_id_query.dart index 20fbaae..0e4ba06 100644 --- a/lib/search/word_search/entry_id_query.dart +++ b/lib/search/word_search/entry_id_query.dart @@ -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> _queryEnglish( .trim(), [ word, - '%$word%', - '%$word%', - '%$word%', + word, + word, + '%${word.replaceAll('%', '')}%', pageSize, offset, ],