Add full text search in autocomplete results

This commit is contained in:
SiriusXT 2024-11-27 10:14:13 +08:00
parent f36594efb7
commit 13da46ff1b

View File

@ -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);
}