-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Remove ORDER BY when counting collection items #529
Labels
Milestone
Comments
@hrach can this orm/src/Collection/DbalCollection.php Line 311 in 82d0cfc
|
Probably. Not fully sure now what was the reason for it. You may try it and see if any test "needs it". |
I've found it :(
|
We could workaround it and keep the ordering only for MSSQL. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Calling
$collection->countStored()
should removeORDER BY
clauseTo Reproduce
Expected behavior
ORDER BY
clause should be removedVersions:
TODO
The text was updated successfully, but these errors were encountered: