Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Add full text search in autocomplete results
SiriusXT13da46ff1b8e
diff --git a/src/public/app/services/note_autocomplete.js b/src/public/app/services/note_autocomplete.jsindex 6770a38992..648faac8a0 100644--- a/src/public/app/services/note_autocomplete.js+++ b/src/public/app/services/note_autocomplete.js@@ -121,7 +121,7 @@ function fullTextSearch($el, options){$el.autocomplete('val', '');$el.setSelectedNotePath("");$el.autocomplete('val', searchString);- // Set a delay to avoid resetting to true before the full text search is completed.+ // Set a delay to avoid resetting to true before full text search (await server.get) is called.setTimeout(() => { options.fastSearch = true; }, 100);}