Showing
1 changed file
with
2 additions
and
2 deletions
@@ -13,8 +13,8 @@ let initParams = { | @@ -13,8 +13,8 @@ let initParams = { | ||
13 | currentUrl: location.pathname | 13 | currentUrl: location.pathname |
14 | }; | 14 | }; |
15 | 15 | ||
16 | -if (qs.query) { | ||
17 | - $.extend(initParams, { query: qs.query }); | 16 | +if (qs) { |
17 | + $.extend(initParams, qs); | ||
18 | } | 18 | } |
19 | 19 | ||
20 | new ProductListWithFilter(initParams); | 20 | new ProductListWithFilter(initParams); |
-
Please register or login to post a comment