diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-20 16:26:30 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-20 16:27:55 +0000 |
commit | dbb51ba043642e0ac496a2636b247b27fcce109c (patch) | |
tree | e6a5f9b3de446f4497ee951eadab2f154545aa32 /perllib/FixMyStreet/DB/ResultSet/Problem.pm | |
parent | b21674faee300203b63a0f567a8ea18b1da489b7 (diff) |
Created and state columns needed for Zurich.
Diffstat (limited to 'perllib/FixMyStreet/DB/ResultSet/Problem.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/ResultSet/Problem.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/ResultSet/Problem.pm b/perllib/FixMyStreet/DB/ResultSet/Problem.pm index 96a9e3e6d..db563e414 100644 --- a/perllib/FixMyStreet/DB/ResultSet/Problem.pm +++ b/perllib/FixMyStreet/DB/ResultSet/Problem.pm @@ -91,7 +91,7 @@ sub _recent { $query->{photo} = { '!=', undef } if $photos; my $attrs = { - columns => [ 'id', 'title', 'confirmed' ], + columns => [ 'id', 'title', 'created', 'confirmed', 'state' ], order_by => { -desc => 'confirmed' }, rows => $num, }; |