aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Dashboard.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-05-31 10:59:19 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-05-31 10:59:21 +0100
commit557d1137f10f481a8fe8c723532b410096c6d965 (patch)
tree37a5670427a98777f1652cf470ba31936f857957 /perllib/FixMyStreet/App/Controller/Dashboard.pm
parenta865ccbfd22842ac6ad7de9e63b54be4996dee3f (diff)
Fallback to ID ordering on dashboard export.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Dashboard.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Dashboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Dashboard.pm b/perllib/FixMyStreet/App/Controller/Dashboard.pm
index 7894e8ccb..ffd8d76c1 100644
--- a/perllib/FixMyStreet/App/Controller/Dashboard.pm
+++ b/perllib/FixMyStreet/App/Controller/Dashboard.pm
@@ -278,7 +278,7 @@ sub export_as_csv : Private {
my $csv = $c->stash->{csv} = {
problems => $c->stash->{problems_rs}->search_rs({}, {
prefetch => 'comments',
- order_by => 'me.confirmed'
+ order_by => ['me.confirmed', 'me.id'],
}),
headers => [
'Report ID',