aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Bromley.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-04-24 17:52:40 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-04-24 17:52:40 +0100
commitc84e7651e0c8a888495205ad1c19b7f3e89f95ea (patch)
tree3d40914248b93868f2ca91d13e27e94ed1f97af8 /perllib/FixMyStreet/Cobrand/Bromley.pm
parentbb5897ce61bf2c813e33b242594f14c73a65c2ed (diff)
Fewer photos on /alert for Bromley.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bromley.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm
index 90661c0c3..a9088f32a 100644
--- a/perllib/FixMyStreet/Cobrand/Bromley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bromley.pm
@@ -31,6 +31,12 @@ sub example_places {
return ( 'BR1 3UH', 'Glebe Rd, Bromley' );
}
+sub recent_photos {
+ my ( $self, $area, $num, $lat, $lon, $dist ) = @_;
+ $num = 3 if $num > 3 && $area eq 'alert';
+ return $self->problems->recent_photos( $num, $lat, $lon, $dist );
+}
+
sub process_extras {
my $self = shift;
my $ctx = shift;