mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #640] [MERGED] [Paginator]Add hidden field ordering for postgresql #8491
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/640
Author: @denkiryokuhatsuden
Created: 4/2/2013
Status: ✅ Merged
Merged: 6/25/2013
Merged by: @guilhermeblanco
Base:
master← Head:patch-1📝 Commits (4)
3e8796fAdd hidden field ordering for postgresql786d904Revert "Add hidden field ordering for postgresql"e54c11eAdd test for postgresql hidden scalar sorting7af84e7Fixed postgresql hidden scalar sort📊 Changes
2 files changed (+38 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php(+19 -1)📝
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php(+19 -0)📄 Description
In postgresql environment, when some hidden fields are used in orderBy clause,
they're not property added because $rsm->scalarMappings don't have information about them.
This change fixes above.
I'm afraid I'm not sure which branch this will be merged, but anyway here's a patch.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.