aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/JSON.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-09 22:26:45 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-09 22:26:45 +0100
commit21d576c363f9a37ef1c7b322169093084f4a5101 (patch)
treeeb75097f70357eed386544b4cca3d639ab2300e8 /perllib/FixMyStreet/App/Controller/JSON.pm
parentffb997d441f4ad8443b81fd6ae62ca97e98a3358 (diff)
Ordering so test doesn't sometimes randomly fail.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/JSON.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/JSON.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/JSON.pm b/perllib/FixMyStreet/App/Controller/JSON.pm
index 37df98735..3a3010911 100644
--- a/perllib/FixMyStreet/App/Controller/JSON.pm
+++ b/perllib/FixMyStreet/App/Controller/JSON.pm
@@ -87,6 +87,7 @@ sub problems : Local {
},
state => $state,
}, {
+ order_by => { -asc => 'confirmed' },
columns => [
'id', 'title', 'council', 'category',
'detail', 'name', 'anonymous', 'confirmed',