This commit is contained in:
parent
f4186781db
commit
e069f12c6c
@ -45,19 +45,6 @@ class Doctrine_Query_Groupby extends Doctrine_Query_Part
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user