Commit e069f12c authored by zYne's avatar zYne

--no commit message

--no commit message
parent f4186781
......@@ -44,20 +44,7 @@ class Doctrine_Query_Groupby extends Doctrine_Query_Part
$r = array();
foreach (explode(',', $str) as $reference) {
$reference = trim($reference);
/**
if (count($e) > 1) {
$field = array_pop($e);
$ref = implode('.', $e);
$this->query->load($ref);
$r[] = $this->query->getTableAlias($ref) . '.' . $field;
} else {
$alias = end($e);
$r[] = $this->query->getAggregateAlias($alias);
}
*/
$r[] = $this->query->parseClause($reference);
}
return implode(', ', $r);
......
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