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

Less results than expected on each page #221

@clem983

Description

@clem983

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions