mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #720] [MERGED] Allow to have non-distinct queries #8611
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/720
Author: @bakura10
Created: 7/9/2013
Status: ✅ Merged
Merged: 8/6/2013
Merged by: @guilhermeblanco
Base:
master← Head:fix-paginator📝 Commits (1)
3f112dbAllow to have non-distinct queries📊 Changes
3 files changed (+15 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/AbstractQuery.php(+12 -0)📝
lib/Doctrine/ORM/Tools/Pagination/Paginator.php(+1 -1)📝
tests/Doctrine/Tests/ORM/Query/QueryTest.php(+2 -0)📄 Description
The getHint method would return false if no hint was set for the given name. Therefore even if you set the CountWalker::HINT_DISTINCT to false, it would have been ignored and set to true by the paginator.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.