[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
@ -63,7 +63,7 @@ class EntityRepository
|
||||
{
|
||||
return $this->_em->createQueryBuilder()
|
||||
->select($alias)
|
||||
->from($this->_entityName);
|
||||
->from($this->_entityName, $alias);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user