Skip to content

Commit 96422a7

Browse files
authored
Merge pull request #1283 from algolia/revert-1278-bugfix/MAGE-501
Revert "Bugfix/mage 501"
2 parents e34c787 + 9672d0f commit 96422a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

view/frontend/web/internals/common.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,9 @@ requirejs(['algoliaBundle'], function(algoliaBundle) {
411411
// Handle sliders
412412
if (currentFacet.type == 'slider' || currentFacet.type == 'priceRanges') {
413413
var currentFacetAttribute = currentFacet.attribute;
414+
if (currentFacetAttribute.indexOf("price") !== -1) {
415+
currentFacetAttribute += algoliaConfig.priceKey;
416+
}
414417
uiStateProductIndex['range'][currentFacetAttribute] = routeParameters[currentFacetAttribute] && routeParameters[currentFacetAttribute];
415418
if (algoliaConfig.isLandingPage &&
416419
typeof uiStateProductIndex['range'][currentFacetAttribute] === 'undefined' &&

0 commit comments

Comments
 (0)