@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.
- package/esm2020/angular-connect.module.mjs +1 -1
- package/esm2020/services/catalog/catalog.service.mjs +4 -2
- package/fesm2015/infrab4a-connect-angular.mjs +3 -1
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +3 -1
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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) => {
|