-
Notifications
You must be signed in to change notification settings - Fork 142
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
Corrected distinct option #126
Conversation
+1 |
Waiting for me ? |
Any updates? |
can you rebase? |
@MJBGO Can you please rebase in order to get this PR merged? |
Yes sorry I'll do it this week |
Any updates @MJBGO ? |
Yes, very sorry. I'll do it this week for sure :) |
Fresh commit done ! I've corrected the problem like explained in the initial message (I've updated with detailed queries). The patch that came with 1.3.0 doesn't use the distinct option entirely as seen on the screenshots. |
@l3pp4rd Could you please review? |
Fix of the DISTINCT option.
Since 1.3.0 (this commit 861c2a0), the distinct option doesn't have the same effect.
Before 1.3.0
distinct: false
![image](https://cloud.githubusercontent.com/assets/8344487/20690987/2cae057c-b5ce-11e6-995b-ba376d8c13c2.png)
distinct: true
![image](https://cloud.githubusercontent.com/assets/8344487/20691001/41544d06-b5ce-11e6-820c-8ea788dcdbe2.png)
1.3.3 without correction
distinct: false
![image](https://cloud.githubusercontent.com/assets/8344487/20691251/ea09d15e-b5cf-11e6-8694-8c64e5cc5788.png)
distinct: true
![image](https://cloud.githubusercontent.com/assets/8344487/20691239/d770dd44-b5cf-11e6-990b-7ae319ec57a6.png)
1.3.3 with correction
distinct: false
![capture11](https://cloud.githubusercontent.com/assets/8344487/20690888/8a95f006-b5cd-11e6-9145-4400beb17777.JPG)
distinct: true
![image](https://cloud.githubusercontent.com/assets/8344487/20723233/05821578-b66a-11e6-9f77-4c8b13279758.png)
See doctrine documentation : http://doctrine-orm.readthedocs.org/en/latest/tutorials/pagination.html