Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product pagination bug #9699

Closed
mikemix opened this issue Sep 10, 2018 · 3 comments
Closed

Product pagination bug #9699

mikemix opened this issue Sep 10, 2018 · 3 comments
Labels
Potential Bug Potential bugs or bugfixes, that needs to be reproduced. Shop ShopBundle related issues and PRs.

Comments

@mikemix
Copy link
Contributor

mikemix commented Sep 10, 2018

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.

@mikemix mikemix changed the title Product pagination issue Product pagination bug? Sep 12, 2018
@mikemix mikemix changed the title Product pagination bug? Product pagination bug Sep 21, 2018
@CoderMaggie CoderMaggie added Potential Bug Potential bugs or bugfixes, that needs to be reproduced. Shop ShopBundle related issues and PRs. labels Oct 2, 2018
@mikemix
Copy link
Contributor Author

mikemix commented Oct 30, 2018

This is a major issue in my opinion.

laurent35240 added a commit to laurent35240/Sylius that referenced this issue Jan 5, 2019
laurent35240 added a commit to laurent35240/Sylius that referenced this issue Jan 5, 2019
laurent35240 added a commit to laurent35240/Sylius that referenced this issue Jan 13, 2019
pamil added a commit that referenced this issue Jan 13, 2019
* 1.2:
  Apply coding standard fixes
  #9699 🍌 -> 🥥
  Revert int strictness to just pass strings
  Make tests passing
  Fix build
  Behat test for assigning main taxon on new product
  #9699 Fix for viewing products when they belong to a taxon and to one of children taxon
@pamil pamil closed this as completed in ce290b0 Jan 13, 2019
pamil added a commit that referenced this issue Jan 13, 2019
* 1.3:
  Apply coding standard fixes
  Apply coding standard fixes
  #9699 🍌 -> 🥥
  Revert int strictness to just pass strings
  Make tests passing
  Fix build
  Behat test for assigning main taxon on new product
  #9699 Fix for viewing products when they belong to a taxon and to one of children taxon
@vvasiloi
Copy link
Contributor

It's happening again: https://demo.sylius.com/en_US/taxons/t-shirts?limit=9
image

@smashou
Copy link

smashou commented Apr 29, 2019

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.

pamil added a commit to pamil/Sylius that referenced this issue May 7, 2019
* 1.3:
  Apply coding standard fixes
  Apply coding standard fixes
  Sylius#9699 🍌 -> 🥥
  Revert int strictness to just pass strings
  Make tests passing
  Fix build
  Behat test for assigning main taxon on new product
  Sylius#9699 Fix for viewing products when they belong to a taxon and to one of children taxon
pamil added a commit to pamil/Sylius that referenced this issue May 7, 2019
* 1.3:
  Apply coding standard fixes
  Apply coding standard fixes
  Sylius#9699 🍌 -> 🥥
  Revert int strictness to just pass strings
  Make tests passing
  Fix build
  Behat test for assigning main taxon on new product
  Sylius#9699 Fix for viewing products when they belong to a taxon and to one of children taxon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Potential bugs or bugfixes, that needs to be reproduced. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

No branches or pull requests

4 participants