Skip to content

Commit

Permalink
Dev: Disable criteria group in assessment view (fails on Postgres)
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jan 9, 2018
1 parent 344123e commit 3f923f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/models/Assessment.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public function search()
$criteria->compare('maximum', $this->maximum);
$criteria->compare('message', $this->message, true);

$criteria->group = 'id';
// TODO: Does not work with Postgres.
//$criteria->group = 'id';

return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
Expand Down

0 comments on commit 3f923f2

Please sign in to comment.