diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-28 10:46:19 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-28 10:46:19 +0000 |
commit | 8caf6e5aea7dddbc084dc8675d6c3346f22660bd (patch) | |
tree | 3050e8078917ef69f4779d590a78bd1dc0d6e4f8 /perllib/FixMyStreet/App/Controller/Reports.pm | |
parent | b5fe45327561dbad2f83c0522b3df0830730c7de (diff) | |
parent | 42b3535a00bfd0f8fd1e43207c63aa74c399b82b (diff) |
Merge branch 'supercool' of ssh://github.com/mysociety/fixmystreet into supercool
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 0587a627a..5305b23b4 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -343,6 +343,7 @@ sub load_and_group_problems : Private { 'id', 'council', 'state', 'areas', 'latitude', 'longitude', 'title', 'cobrand', { duration => { extract => "epoch from current_timestamp-lastupdate" } }, { age => { extract => "epoch from current_timestamp-confirmed" } }, + { photo => 'photo is not null' }, ], order_by => { -desc => 'lastupdate' }, rows => 100, |