Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix setUrlParams function
Krzysztof Białogłowicz2ee43e1d5511
diff --git a/saleor/static/js/components/CategoryPage.js b/saleor/static/js/components/CategoryPage.jsindex 7c8ac1a405..4f0322153a 100644--- a/saleor/static/js/components/CategoryPage.js+++ b/saleor/static/js/components/CategoryPage.js@@ -86,12 +86,12 @@ class CategoryPage extends Component {if (priceFilters) {priceFilters.map((param, index) => {- if (index == 0) {- url += '?' + param;- } else {- url += '' + param;- }- });+ if (index == 0 && attributesFilter == 0) {+ url += '?' + param;+ } else {+ url += '&' + param;+ }+ })}if (attributesFilter.length == 0 && priceFilters.length == 0) {