@infrab4a/connect-angular 4.5.4 → 4.5.5-beta.1

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.
@@ -1722,10 +1722,11 @@ class CatalogService {
1722
1722
  if (this.hasCategory(options) && options.sort === 'most-relevant') {
1723
1723
  const mostRelevant = options.category.mostRelevant ?? [];
1724
1724
  const productsIds = await this.productRepository
1725
- .find({
1725
+ .findCatalog({
1726
1726
  fields: ['id'],
1727
1727
  filters: {
1728
1728
  ...(await this.buildMainFilter(options)),
1729
+ ...this.buildFilterQuery(options?.filters || {}),
1729
1730
  },
1730
1731
  })
1731
1732
  .then((products) => products.data.map((product) => product.id));