@infrab4a/connect-angular 5.2.1-beta.1 → 5.2.1-beta.2

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.
@@ -1736,8 +1736,8 @@ class TermSearchStrategy {
1736
1736
  // ),
1737
1737
  // )
1738
1738
  // const productIdsStock = productIdsStockGender.concat(productIdsStockNotGender)
1739
- const productIdsStockOut = productIds.filter((product) => stockOut.some((result) => result.id === product));
1740
- const limitedProductId = stockData.concat(productIdsStockOut).slice(limits.offset, limits.offset + limits.limit);
1739
+ // const productIdsStockOut = productIds.filter((product) => stockOut.some((result: any) => result.id === product))
1740
+ const limitedProductId = stockData.concat(stockOut).slice(limits.offset, limits.offset + limits.limit);
1741
1741
  const orderedId = productIds.filter((product) => limitedProductId.includes(product));
1742
1742
  return this.getDetailedProducts(orderedId, totalResult, fieldsHelper);
1743
1743
  }