Commit d8a1c5c5 authored by guilhermeblanco's avatar guilhermeblanco

[2.0][DDC-234] Fixed issue with EntityRepository that was not considering...

[2.0][DDC-234] Fixed issue with EntityRepository that was not considering alias of root Entity when instantiating a new QueryBuilder
parent ad578e57
......@@ -63,7 +63,7 @@ class EntityRepository
{
return $this->_em->createQueryBuilder()
->select($alias)
->from($this->_entityName);
->from($this->_entityName, $alias);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment