Skip to content

Commit 7cc9e0c

Browse files
committed
MAGE-1020: autocomplete recent searches plugin updated.
1 parent 6ae4543 commit 7cc9e0c

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

view/frontend/requirejs-config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const config = {
3535
// Autocomplete plugins
3636
'algoliaQuerySuggestionsPluginLib' : 'Algolia_AlgoliaSearch/js/lib/query-suggestions-plugin.min',
3737
'algoliaInsightsPluginLib' : 'Algolia_AlgoliaSearch/js/lib/insights-plugin.min',
38+
'algoliaRecentSearchesLib' : 'Algolia_AlgoliaSearch/js/lib/recent-searches-plugin.min',
3839

3940
// Autocomplete templates
4041
'algoliaAutocompleteProductsHtml' : 'Algolia_AlgoliaSearch/js/template/autocomplete/products',
@@ -50,9 +51,6 @@ const config = {
5051
'algoliaMustacheLib': 'Algolia_AlgoliaSearch/js/lib/mustache.min',
5152
'algoliaHoganLib' : 'Algolia_AlgoliaSearch/js/lib/hogan.min',
5253

53-
// Other plugins
54-
'algoliaLocalStorageRecentSearchesLib' : 'Algolia_AlgoliaSearch/js/lib/local-storage-recent-searches-plugin.min',
55-
5654
// DEPRECATED - to be removed in a future release
5755
'algoliaBundle': 'Algolia_AlgoliaSearch/js/internals/algoliaBundle.min',
5856
'rangeSlider' : 'Algolia_AlgoliaSearch/js/navigation/range-slider-widget'

view/frontend/web/js/lib/local-storage-recent-searches-plugin.min.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

view/frontend/web/js/lib/recent-searches-plugin.min.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)