Skip to content

Build your personal knowledge base with Trilium Notes

Fix a bug in the full text search in AutoComplete

SiriusXTb44df12148d1
diff --git a/src/public/app/services/note_autocomplete.ts b/src/public/app/services/note_autocomplete.ts
index 7b3defdb25..8f7d3a1913 100644
--- a/src/public/app/services/note_autocomplete.ts
+++ b/src/public/app/services/note_autocomplete.ts
@@ -131,7 +131,6 @@ function fullTextSearch($el: JQuery<HTMLElement>, options: Options) {
$el.trigger("focus");
options.fastSearch = false;
$el.autocomplete("val", "");
- $el.autocomplete();
$el.setSelectedNotePath("");
$el.autocomplete("val", searchString);
// Set a delay to avoid resetting to true before full text search (await server.get) is called.