You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// DEPRECATED location - retaining for backward compatibility but `beforeAutcompleteSources` behavior belongs earlier in the process and will be relocated in a future version
228
+
// DEPRECATED - retaining for backward compatibility but `beforeAutcompleteSources` may be removed or relocated in a future version
229
229
sources=algoliaCommon.triggerHooks(
230
230
'beforeAutocompleteSources',
231
231
sources,
@@ -387,15 +387,15 @@ define([
387
387
* @returns options object
388
388
*/
389
389
buildProductSourceOptions(section,options){
390
-
options.facets=['categories.level0'];
391
-
options.numericFilters='visibility_search=1';
392
-
options.ruleContexts=['magento_filters',''];// Empty context to keep backward compatibility for already created rules in dashboard
393
-
394
-
// DEPRECATED - retaining for backward compatibility but `beforeAutocompleteProductSourceOptions` will likely be removed in a future version
390
+
// DEPRECATED - retaining for backward compatibility but `beforeAutocompleteProductSourceOptions` may be removed in a future version
395
391
options=algoliaCommon.triggerHooks(
396
392
'beforeAutocompleteProductSourceOptions',
397
393
options
398
394
);
395
+
396
+
options.facets=['categories.level0'];
397
+
options.numericFilters='visibility_search=1';
398
+
options.ruleContexts=['magento_filters',''];// Empty context to keep backward compatibility for already created rules in dashboard
0 commit comments