File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
view/frontend/web/internals Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ requirejs(['algoliaBundle'], function(algoliaBundle) {
571
571
uiStateProductIndex . hierarchicalMenu [ currentFacet . attribute + '.level0' ] . join ( '~' ) ) ;
572
572
}
573
573
// Handle sliders
574
- if ( currentFacet . type == 'slider' ) {
574
+ if ( currentFacet . type == 'slider' || currentFacet . type == 'priceRanges' ) {
575
575
routeParameters [ currentFacet . attribute ] = ( uiStateProductIndex . range &&
576
576
uiStateProductIndex . range [ currentFacet . attribute ] &&
577
577
uiStateProductIndex . range [ currentFacet . attribute ] ) ;
@@ -623,7 +623,7 @@ requirejs(['algoliaBundle'], function(algoliaBundle) {
623
623
uiStateProductIndex [ 'hierarchicalMenu' ] [ 'categories.level0' ] = [ algoliaConfig . request . path ] ;
624
624
}
625
625
// Handle sliders
626
- if ( currentFacet . type == 'slider' ) {
626
+ if ( currentFacet . type == 'slider' || currentFacet . type == 'priceRanges' ) {
627
627
var currentFacetAttribute = currentFacet . attribute ;
628
628
if ( currentFacetAttribute . indexOf ( "price" ) !== - 1 ) {
629
629
currentFacetAttribute += algoliaConfig . priceKey ;
You can’t perform that action at this time.
0 commit comments