1
0
mirror of synced 2025-01-18 22:41:43 +03:00

[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:
guilhermeblanco 2010-01-05 17:11:24 +00:00
parent ad578e57f7
commit d8a1c5c5ef

View File

@ -63,7 +63,7 @@ class EntityRepository
{
return $this->_em->createQueryBuilder()
->select($alias)
->from($this->_entityName);
->from($this->_entityName, $alias);
}
/**