We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c008a5d commit d74994cCopy full SHA for d74994c
view/frontend/web/js/autocomplete.js
@@ -306,7 +306,7 @@ define([
306
* @param source - default values for the source object
307
* @returns source object
308
*/
309
- buildAutocompleteSourceProducts(section, source, options) {
+ buildAutocompleteSourceProducts(section, source) {
310
source.options = this.buildProductSourceOptions(section, source.options);
311
source.templates = {
312
noResults: ({html}) => {
@@ -411,7 +411,7 @@ define([
411
section.name === 'categories' &&
412
algoliaConfig.showCatsNotIncludedInNavigation === false
413
) {
414
- options.numericFilters = 'include_in_menu=1';
+ source.options.numericFilters = 'include_in_menu=1';
415
}
416
417
0 commit comments