1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-12-10 18:32:36 +00:00
parent f4186781db
commit e069f12c6c

View File

@ -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);