From febbfdf697b5d59e0f971220e114ea9228022637 Mon Sep 17 00:00:00 2001 From: Precious Onyenaucheya <86783201+precious-onyenaucheya-ons@users.noreply.github.com> Date: Thu, 17 Oct 2024 10:23:25 +0100 Subject: [PATCH] Update src/components/autosuggest/autosuggest.ui.js Co-authored-by: rmccar <42928680+rmccar@users.noreply.github.com> --- src/components/autosuggest/autosuggest.ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/autosuggest/autosuggest.ui.js b/src/components/autosuggest/autosuggest.ui.js index d0680d042e..11b0b9e8be 100644 --- a/src/components/autosuggest/autosuggest.ui.js +++ b/src/components/autosuggest/autosuggest.ui.js @@ -300,7 +300,7 @@ export default class AutosuggestUI { this.extendedSearch != null && this.extendedSearchThreshold >= 0 && this.extendedSearchThreshold <= 1 ? this.extendedSearchThreshold : 0.2; - const results = await runFuse(sanitisedQuery, data, this.lang, threshold, this.resultLimit); + const results = await runFuse(sanitisedQuery, data, this.lang, threshold); results.forEach((result) => { result.sanitisedText = sanitiseAutosuggestText(result[this.lang], this.sanitisedQueryReplaceChars);