@infrab4a/connect-angular 4.5.3-beta.4 → 4.5.3-beta.5
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 +2 -2
- package/fesm2015/infrab4a-connect-angular.mjs +1 -1
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1785,7 +1785,7 @@ class CatalogService {
|
|
|
1785
1785
|
limits.offset -= mostRelevants.length;
|
|
1786
1786
|
}
|
|
1787
1787
|
console.log('limits', limits);
|
|
1788
|
-
const mostRelevantProductsIds = [...new Set(
|
|
1788
|
+
const mostRelevantProductsIds = [...new Set(mostRelevants.concat(productIds))];
|
|
1789
1789
|
console.log('mostRelevantProductsIds', mostRelevantProductsIds);
|
|
1790
1790
|
const totalResult = await this.productRepository.findCatalog({
|
|
1791
1791
|
fields: ['id', 'stock'],
|