aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-11-22 15:53:36 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-11-26 12:49:23 +0000
commitd04d807989eaedb1bd46d08bf80e1b42ed7800ae (patch)
treebab6a4db9c010df881b1435e5ccbfae35273cdd0 /perllib
parentdf2db75e7cd8733d557f625559b8757c523a214a (diff)
Improve update display on admin report edit page.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm
index 60dea4c1b..75f83c6b6 100644
--- a/perllib/FixMyStreet/App/Controller/Admin.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin.pm
@@ -889,7 +889,7 @@ sub report_edit : Path('report_edit') : Args(1) {
$c->stash->{updates} =
[ $c->model('DB::Comment')
- ->search( { problem_id => $problem->id }, { order_by => 'created' } )
+ ->search( { problem_id => $problem->id }, { order_by => [ 'created', 'id' ] } )
->all ];
if (my $rotate_photo_param = $self->_get_rotate_photo_param($c)) {