mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3623: [GH-1337] Paginator OrderBy fix take 2 #4448
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 @doctrinebot on GitHub (Mar 17, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of zeroedin-bill:
Url: https://github.com/doctrine/doctrine2/pull/1337
Message:
This PR fixes issues created in #1220, reported in #1267. The original PR was reverted in #1283.
The issue was that in queries ordered by joined association columns, the joined column aliases did not exist in the outer query created in LimitSubqueryOutputWalker.
This PR adds functionality to LimitSubqueryOutputWalker which finds any such columns referenced in the OrderBy clause, and adds them to the SelectStatement prior to SQL generation.
@doctrinebot commented on GitHub (Mar 17, 2015):
@doctrinebot commented on GitHub (Mar 17, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1337] was labeled:
https://github.com/doctrine/doctrine2/pull/1337
@doctrinebot commented on GitHub (Mar 17, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1337] was labeled:
https://github.com/doctrine/doctrine2/pull/1337
@doctrinebot commented on GitHub (Mar 24, 2015):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Mar 24, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1337] was assigned:
https://github.com/doctrine/doctrine2/pull/1337