[2.0][DDC-234] Fixed issue with EntityRepository that was not considering alias of root Entity when instantiating a new QueryBuilder
This commit is contained in:
parent
ad578e57f7
commit
d8a1c5c5ef
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class EntityRepository
|
|||
{
|
||||
return $this->_em->createQueryBuilder()
|
||||
->select($alias)
|
||||
->from($this->_entityName);
|
||||
->from($this->_entityName, $alias);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue