@infrab4a/connect-angular 4.0.2-beta.1 → 4.0.3-beta.0
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/services/catalog/catalog.service.mjs +3 -1
- package/fesm2015/infrab4a-connect-angular.mjs +2 -0
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +2 -0
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1487,6 +1487,8 @@ class CatalogService {
|
|
|
1487
1487
|
return { rate: 'desc' };
|
|
1488
1488
|
if (sort === 'news')
|
|
1489
1489
|
return { createdAt: 'desc' };
|
|
1490
|
+
if (sort === 'biggest-discount')
|
|
1491
|
+
return { subscriberDiscountPercentage: 'desc' };
|
|
1490
1492
|
};
|
|
1491
1493
|
this.buildLimitQuery = (options) => {
|
|
1492
1494
|
const limit = options?.perPage || 20;
|