[PR #1029] [CLOSED] Override joins #9060

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/1029
Author: @dskora
Created: 5/7/2014
Status: Closed

Base: masterHead: dskora/join-override


📝 Commits (1)

  • c6289f6 Override joins scenario + test case

📊 Changes

2 files changed (+20 additions, -0 deletions)

View changed files

📝 lib/Doctrine/ORM/QueryBuilder.php (+9 -0)
📝 tests/Doctrine/Tests/ORM/QueryBuilderTest.php (+11 -0)

📄 Description

It will eliminate error: INNER JOIN': Error: ... is already defined during creating a sql query.

Scenario:
We have a sorting feature on the page which allows users to order by a most reviewed/customer rating, on the same time we might have a filter by an average rating.


🔄 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/1029 **Author:** [@dskora](https://github.com/dskora) **Created:** 5/7/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dskora/join-override` --- ### 📝 Commits (1) - [`c6289f6`](https://github.com/doctrine/orm/commit/c6289f68949a3f92c6f8b93a933977aa159cf35c) Override joins scenario + test case ### 📊 Changes **2 files changed** (+20 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/QueryBuilder.php` (+9 -0) 📝 `tests/Doctrine/Tests/ORM/QueryBuilderTest.php` (+11 -0) </details> ### 📄 Description It will eliminate error: INNER JOIN': Error: ... is already defined during creating a sql query. Scenario: We have a sorting feature on the page which allows users to order by a most reviewed/customer rating, on the same time we might have a filter by an average rating. --- <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:03:01 +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#9060