mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #830] [MERGED] [DDC-2764] Prefix criteria orderBy with rootAlias #8765
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/830
Author: @sandermarechal
Created: 10/29/2013
Status: ✅ Merged
Merged: 1/2/2014
Merged by: @beberlei
Base:
master← Head:sort-alias📝 Commits (3)
b6f8d53[DDC-2764] Prefix criteria orderBy with rootAlias202039eSet rootAlias outside loop35a62e9Add rootAlias to Criteria where clauses📊 Changes
4 files changed (+51 additions, -29 deletions)
View changed files
📝
lib/Doctrine/ORM/Query/QueryExpressionVisitor.php(+18 -10)📝
lib/Doctrine/ORM/QueryBuilder.php(+3 -2)📝
tests/Doctrine/Tests/ORM/Query/QueryExpressionVisitorTest.php(+14 -14)📝
tests/Doctrine/Tests/ORM/QueryBuilderTest.php(+16 -3)📄 Description
This fixes DDC-2764 by prefixing the QueryBuilder rootAlias to sortBy criteria.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.