mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fix another failing test on postgres
This commit is contained in:
parent
467b0f1c45
commit
7145bd6574
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class PaginatorCustomPost extends CakeTestModel {
|
|||
$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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue