Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Wrong query for selecting IDs for pagination #490
There is a bug in query selecting IDs that are passed for query selecting paged items.
1st query = selecting count;
How to get to bug:
Lets say I have this query:
Entity\Gallery = media__gallery
So basically what Im doing is selecting 'm' (Media) for displaying in paginated results.
The 2nd query thus should select not u0_id but m1_.id so it can be used in 3rd query in WHERE statement.
What it does now is instead of filling WHERE with (m1.)_Media IDs its using (u0.)_UserGallery IDs...
Hello. This is the DQL query:
Paginator then generates query for selecting IDs (results to be displayed). Problem is it should select
So in short - paginator selects