@infrab4a/connect-angular 4.0.0-beta.38 → 4.0.0-beta.39

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.
@@ -1406,7 +1406,7 @@ class CatalogService {
1406
1406
  this.productRepository = productRepository;
1407
1407
  this.categoryStructureAdapter = categoryStructureAdapter;
1408
1408
  this.shop = shop;
1409
- this.buildFilterQuery = ({ clubDiscount, brands, prices, gender, tags, rate, }) => {
1409
+ this.buildFilterQuery = ({ clubDiscount, brands, prices, gender, tags, rate, customOptions, }) => {
1410
1410
  const filters = {};
1411
1411
  if (clubDiscount?.length)
1412
1412
  set(filters, 'price.subscriberDiscountPercentage', { operator: Where.IN, value: clubDiscount });
@@ -1428,6 +1428,8 @@ class CatalogService {
1428
1428
  filters.rate = { operator: Where.GTE, value: rate };
1429
1429
  if (tags?.length)
1430
1430
  filters.tags = { operator: Where.LIKE, value: tags };
1431
+ if (customOptions?.length)
1432
+ filters.filters = { operator: Where.LIKE, value: customOptions };
1431
1433
  return filters;
1432
1434
  };
1433
1435
  this.buildSortQuery = (sort) => {