doctrine/doctrine2 — pull request #1029 by dskora (2014-05-07 16:08:20+00:00)
Title: Override joins

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.