mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
Add full text search in autocomplete results
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user