From e9c2ea6f8c5b995c7a04aa0ec71df3ebfa28a0ee Mon Sep 17 00:00:00 2001 From: Sipkao Date: Wed, 15 May 2024 10:31:38 +0200 Subject: [PATCH] Autocomplete suggestion navigation and translation fix --- assets/findify-autocomplete.js | 2 +- snippets/findify-toolbar-desktop.liquid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/findify-autocomplete.js b/assets/findify-autocomplete.js index 096b406..0c6f92e 100644 --- a/assets/findify-autocomplete.js +++ b/assets/findify-autocomplete.js @@ -68,7 +68,7 @@ const initFindifyAutocompleteEvents = () => { } catch (error) { console.log('error', error); } - return navigate(e, query, rid); + return navigate(e, suggestion, rid); }; const initOnSuggestionEvents = () => { diff --git a/snippets/findify-toolbar-desktop.liquid b/snippets/findify-toolbar-desktop.liquid index 0b97e3e..8f53d3c 100644 --- a/snippets/findify-toolbar-desktop.liquid +++ b/snippets/findify-toolbar-desktop.liquid @@ -19,7 +19,7 @@ {{ 'findify.search.results_count' | t: count: results_count }} {% else %} {% assign term_decoded = terms | url_decode %} - {{ 'results_count_for' | t: count: results_count, term: term_decoded }} + {{ 'findify.search.results_count_for' | t: count: results_count, term: term_decoded }} {% endif %}