mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #722] [CLOSED] Support for order by association (for 2.3 branch) #8607
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/722
Author: @stollr
Created: 7/15/2013
Status: ❌ Closed
Base:
2.3← Head:orderby_association_2.3📝 Commits (1)
881963bSupport for order by association when using findBy (for 2.3 branch)📊 Changes
1 file changed (+30 additions, -10 deletions)
View changed files
📝
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(+30 -10)📄 Description
I need to
@OrderByan association, which does not work in2.3but I found the pull request https://github.com/doctrine/doctrine2/pull/549 by @FabioBatSilva who has implemented this in branch2.4.I have copied the code, adjusted it for
2.3and tested it in a real life application ;-)The original pull request is related to Doctrine Issue #2241.
The ordering of associations has been implemented in Doctrine Issue #195.
Please integrate this into
2.3because2.4is not stable until now and thus it is not usable for many people.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.