This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
Incorrect returned values of product_count #214
Closed
Description
Preconditions
- Using Magento 2.3
- Luma sample data installed
Steps to reproduce
- Form a category query including the
product_count
field with a category id of 3 (gear) - Include an inner product query with the
total_count
field.
Expected result
product_count
matches the total number of items returned from the query. Should be the same number as total_count
if the inner product query does not have filters.
Actual result
Additional Notes
Worth mentioning that the value of product_count
here is the same as the highest id in the category, despite the gap of products between id 23 and 36.