Skip to content

Commit

Permalink
fix another failing test on postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed Mar 13, 2012
1 parent 467b0f1 commit 7145bd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public function _findTotalsOperation($state, $query, $results = array()) {
$query['fields'] = array('author_id', 'Author.user');
$this->virtualFields['total_posts'] = "COUNT({$this->alias}.id)";
$query['fields'][] = 'total_posts';
$query['group'] = array('author_id');
$query['group'] = array('author_id', 'Author.user');
$query['order'] = array('author_id' => 'ASC');
return $query;
}
Expand Down

0 comments on commit 7145bd6

Please sign in to comment.