[PR #640] [MERGED] [Paginator]Add hidden field ordering for postgresql #8491

Open
opened 2026-01-22 16:00:09 +01:00 by admin · 0 comments
Owner

📋 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: masterHead: patch-1


📝 Commits (4)

  • 3e8796f Add hidden field ordering for postgresql
  • 786d904 Revert "Add hidden field ordering for postgresql"
  • e54c11e Add test for postgresql hidden scalar sorting
  • 7af84e7 Fixed 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.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/640 **Author:** [@denkiryokuhatsuden](https://github.com/denkiryokuhatsuden) **Created:** 4/2/2013 **Status:** ✅ Merged **Merged:** 6/25/2013 **Merged by:** [@guilhermeblanco](https://github.com/guilhermeblanco) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (4) - [`3e8796f`](https://github.com/doctrine/orm/commit/3e8796f78188e193aac7386b38b7e17da3df5718) Add hidden field ordering for postgresql - [`786d904`](https://github.com/doctrine/orm/commit/786d904328d26d80cfd829a73c4e36b5c1e8ff2a) Revert "Add hidden field ordering for postgresql" - [`e54c11e`](https://github.com/doctrine/orm/commit/e54c11e3bb9c510340957d7c2e91c86433eef98b) Add test for postgresql hidden scalar sorting - [`7af84e7`](https://github.com/doctrine/orm/commit/7af84e79e5a2a54120cf81da7a0f17c98dfe87fa) Fixed postgresql hidden scalar sort ### 📊 Changes **2 files changed** (+38 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php` (+19 -1) 📝 `tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php` (+19 -0) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:00:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8491