diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-09 22:26:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-09 22:26:45 +0100 |
commit | 21d576c363f9a37ef1c7b322169093084f4a5101 (patch) | |
tree | eb75097f70357eed386544b4cca3d639ab2300e8 /perllib/FixMyStreet/App/Controller/JSON.pm | |
parent | ffb997d441f4ad8443b81fd6ae62ca97e98a3358 (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.pm | 1 |
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', |