diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-04-24 17:52:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-04-24 17:52:40 +0100 |
commit | c84e7651e0c8a888495205ad1c19b7f3e89f95ea (patch) | |
tree | 3d40914248b93868f2ca91d13e27e94ed1f97af8 /perllib/FixMyStreet/App/Controller/Alert.pm | |
parent | bb5897ce61bf2c813e33b242594f14c73a65c2ed (diff) |
Fewer photos on /alert for Bromley.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index 2698c6ac0..c127b7460 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -470,6 +470,7 @@ sub add_recent_photos : Private { { $c->stash->{photos} = $c->cobrand->recent_photos( + 'alert', $num_photos, $c->stash->{latitude}, $c->stash->{longitude}, @@ -477,7 +478,7 @@ sub add_recent_photos : Private { ); } else { - $c->stash->{photos} = $c->cobrand->recent_photos($num_photos); + $c->stash->{photos} = $c->cobrand->recent_photos('alert', $num_photos); } return 1; |