Skip to content

Commit 617b57f

Browse files
committed
12468: Sort by Price not working on CatalogSearch Page in Magento 2
1 parent 6862632 commit 617b57f

File tree

1 file changed

+0
-3
lines changed
  • app/code/Magento/Catalog/view/frontend/web/js/product/list

1 file changed

+0
-3
lines changed

app/code/Magento/Catalog/view/frontend/web/js/product/list/toolbar.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ define([
9999
}
100100
paramData[paramName] = paramValue;
101101

102-
if (paramValue == defaultValue) { //eslint-disable-line eqeqeq
103-
delete paramData[paramName];
104-
}
105102
paramData = $.param(paramData);
106103

107104
location.href = baseUrl + (paramData.length ? '?' + paramData : '');

0 commit comments

Comments
 (0)