Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Less results than expected on each page #221

Open
clem983 opened this issue Dec 15, 2019 · 0 comments
Open

Less results than expected on each page #221

clem983 opened this issue Dec 15, 2019 · 0 comments

Comments

@clem983
Copy link

clem983 commented Dec 15, 2019

Hi,

I installed PagerFanta on my Symfony 3.3 project.

I have a query with 8 leftJoin, which is supposed to return 380 results on my test. The table contains bookings.
After migrating my controller to work with pager fanta and 100 max results per page, I have less than 100 results on each page (79, 56, 57 and 71 respectively).
I tried to simplify the query and, when deleting a leftJoin about the payments, it works.

The pagerfanta nbResults function returns always 380. It's only a problem with currentPageResults.

I don't understand how this leftJoin can generate a problem: can there be something missing in the entity? What to check? What can I send you to give more details?

Thank you very much :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant