@colijnit/catalog 261.20.8 → 261.20.9

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.
@@ -57,8 +57,8 @@ import { ExternalCatalogTypes } from '@colijnit/transactionapi/build/enum/extern
57
57
  class Version {
58
58
  name = "@colijnit/catalog";
59
59
  description = "iOne Catalog module based on Angular 20";
60
- symVer = "261.20.8";
61
- publishDate = "20-5-2026, 10:11:54";
60
+ symVer = "261.20.9";
61
+ publishDate = "20-5-2026, 16:31:43";
62
62
  }
63
63
 
64
64
  class ArticlesSearchResult {
@@ -2199,6 +2199,8 @@ class CatalogSearchService {
2199
2199
  }
2200
2200
  }), this._catalogConnectorAdapterService.controllerInitialized.subscribe((initialized) => {
2201
2201
  if (initialized) {
2202
+ // A clone of search request is needed here because otherwise the reset request parameters is executed before filter values are loaded
2203
+ this._filterService.getFilters({ ...this.searchRequest });
2202
2204
  if (this._settingsService.settings.options.searchOnStart) {
2203
2205
  this.searchArticles();
2204
2206
  }
@@ -2224,8 +2226,6 @@ class CatalogSearchService {
2224
2226
  this._catalogConnectorService.getArticlesForCatalog(this.searchRequest).then((result) => {
2225
2227
  this.articles = result && result.articles ? result.articles : [];
2226
2228
  this.resultCount = result && result.count ? result.count : 0;
2227
- // A clone of search request is needed here because otherwise the reset request parameters is executed before filter values are loaded
2228
- this._filterService.getFilters({ ...this.searchRequest });
2229
2229
  const validationResult = result?.validationResult;
2230
2230
  const messages = validationResult?.messages ?? [];
2231
2231
  // show error message(s)