mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Allow EntityRepository::findAll() method takes parameters for ordering #4989
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bocharsky-bw on GitHub (Jan 26, 2016).
Originally assigned to: @Ocramius on GitHub.
I'm going to open a PR that allows ordering objects with EntityRepository::findAll() method:
I think
findAll()method should be able to order entities because ordering causes no any effect for theWHEREclause.What do you think about it?
@backbone87 commented on GitHub (Jan 26, 2016):
+1
@Ocramius commented on GitHub (Feb 5, 2016):
Closing as "won't fix" as per #5652
@rdstudio commented on GitHub (Dec 27, 2020):
Yes its ridiculous that you can't do a sort on findAll. Every other good programming language does this.