From 8ec9771222a5a7696beba192ec4019951d716563 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 20 Jun 2025 23:27:15 +0200 Subject: [PATCH] word_search: add '.' filter for FTS input --- lib/search/word_search/entry_id_query.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/search/word_search/entry_id_query.dart b/lib/search/word_search/entry_id_query.dart index 0e4ba06..e5b3dd5 100644 --- a/lib/search/word_search/entry_id_query.dart +++ b/lib/search/word_search/entry_id_query.dart @@ -30,6 +30,7 @@ SearchMode _determineSearchMode(String word) { /// FTS reacts to certain characters, so we should filter them out. String _filterFTSSensitiveCharacters(String word) { return word + .replaceAll('.', '') .replaceAll('-', '') .replaceAll('*', '') .replaceAll('+', '')