Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix another failing test on postgres

  • Loading branch information...
commit 7145bd65746dd1a6f20b703f11278380e00bcd4b 1 parent 467b0f1
@ceeram ceeram authored
View
2  lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.