diff options
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index decda1b6c..1e1c6c974 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -155,7 +155,7 @@ sub load_problem_or_display_error : Private { $c->stash->{problem} = $problem; my $updates = $c->model('DB::Comment')->search( - { problem_id => $problem->id }, #, state => 'confirmed' }, + { problem_id => $problem->id, state => 'confirmed' }, { select => [ 'id', 'name', 'text', @@ -170,7 +170,7 @@ sub load_problem_or_display_error : Private { -as => 'confirmed', } ], - order_by => 'confirmed' + order_by => 'confirmed', } ); |