Sylius: Product pagination bug

Created on 10 Sep 2018  路  3Comments  路  Source: Sylius/Sylius

Sylius version affected: every

Description
https://demo.sylius.com/en_US/taxons/t-shirts So we request 9 products per page, but only 6 are visible, the others are on the second page. My guess is this should not happen.

Steps to reproduce
Visit https://demo.sylius.com/en_US/taxons/t-shirts

Possible Solution
Dunno.

Potential Bug Shop

Most helpful comment

This is a major issue in my opinion.

All 3 comments

This is a major issue in my opinion.

I think it comes from the ->addSelect('productTaxon') in the ProductRepository > createShopListQueryBuilder. I suppose it is there to decrease the number of SQL requests, but it also generate duplicate results if a product is linked to many Taxons.

Was this page helpful?
0 / 5 - 0 ratings