mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +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.autocomplete('val', '');
|
||||||
$el.setSelectedNotePath("");
|
$el.setSelectedNotePath("");
|
||||||
$el.autocomplete('val', searchString);
|
$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);
|
setTimeout(() => { options.fastSearch = true; }, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user