aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/ResultSet/Problem.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-12-20 16:26:30 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-20 16:27:55 +0000
commitdbb51ba043642e0ac496a2636b247b27fcce109c (patch)
treee6a5f9b3de446f4497ee951eadab2f154545aa32 /perllib/FixMyStreet/DB/ResultSet/Problem.pm
parentb21674faee300203b63a0f567a8ea18b1da489b7 (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.pm2
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,
};