@ikas/storefront 0.0.158-alpha.13 → 0.0.158-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -21379,7 +21379,7 @@ var IkasProductList = /** @class */ (function () {
21379
21379
  ].includes(this._pageType))
21380
21380
  return [2 /*return*/];
21381
21381
  // Change url params
21382
- if (resultsSet && this.isBrowser()) {
21382
+ if (resultsSet && this.isBrowser() && !this.isSearch) {
21383
21383
  (_a = this.router) === null || _a === void 0 ? void 0 : _a.replace("" + location.pathname + (this.filterQueryParams ? "?" + this.filterQueryParams : ""), undefined, { shallow: true });
21384
21384
  }
21385
21385
  return [2 /*return*/];
@@ -21828,7 +21828,7 @@ var IkasProductList = /** @class */ (function () {
21828
21828
  if (f.keyList.length)
21829
21829
  queryParams[f.key] = f.keyList;
21830
21830
  });
21831
- if (this._searchKeyword && !this.isSearch)
21831
+ if (this._searchKeyword)
21832
21832
  queryParams.s = this._searchKeyword;
21833
21833
  if (this._infiniteScrollPage)
21834
21834
  queryParams.page = this._infiniteScrollPage;
package/build/index.js CHANGED
@@ -21362,7 +21362,7 @@ var IkasProductList = /** @class */ (function () {
21362
21362
  ].includes(this._pageType))
21363
21363
  return [2 /*return*/];
21364
21364
  // Change url params
21365
- if (resultsSet && this.isBrowser()) {
21365
+ if (resultsSet && this.isBrowser() && !this.isSearch) {
21366
21366
  (_a = this.router) === null || _a === void 0 ? void 0 : _a.replace("" + location.pathname + (this.filterQueryParams ? "?" + this.filterQueryParams : ""), undefined, { shallow: true });
21367
21367
  }
21368
21368
  return [2 /*return*/];
@@ -21811,7 +21811,7 @@ var IkasProductList = /** @class */ (function () {
21811
21811
  if (f.keyList.length)
21812
21812
  queryParams[f.key] = f.keyList;
21813
21813
  });
21814
- if (this._searchKeyword && !this.isSearch)
21814
+ if (this._searchKeyword)
21815
21815
  queryParams.s = this._searchKeyword;
21816
21816
  if (this._infiniteScrollPage)
21817
21817
  queryParams.page = this._infiniteScrollPage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.158-alpha.13",
3
+ "version": "0.0.158-alpha.14",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",