@infrab4a/connect-angular 4.1.4-beta.5 → 4.1.4-beta.6

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.
@@ -1538,8 +1538,7 @@ class CatalogService {
1538
1538
  }
1539
1539
  async findCatalogByTermAndSortByMostRevelant(options, limits) {
1540
1540
  const productIds = await this.findCatalogIdsByElasticSearch(options.term);
1541
- console.log(productIds);
1542
- const limitedProductId = productIds.slice(limits.offset, limits.limit);
1541
+ const limitedProductId = productIds.slice(limits.offset, limits.offset + limits.limit);
1543
1542
  const productResult = await this.productRepository.findCatalog({
1544
1543
  filters: { id: { operator: Where.IN, value: limitedProductId } },
1545
1544
  }, options?.mainGender || this.shop === Shops.MENSMARKET ? 'male' : 'female');