aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/UKCouncils.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UKCouncils.pm b/perllib/FixMyStreet/Cobrand/UKCouncils.pm
index 0c044fb86..b82e170b6 100644
--- a/perllib/FixMyStreet/Cobrand/UKCouncils.pm
+++ b/perllib/FixMyStreet/Cobrand/UKCouncils.pm
@@ -53,6 +53,13 @@ sub problems_restriction {
return $rs->to_body($self->body);
}
+sub problems_on_map_restriction {
+ my ($self, $rs) = @_;
+ # If we're a two-tier council show all problems on the map and not just
+ # those for this cobrand's council to reduce duplicate reports.
+ return $self->is_two_tier ? $rs : $self->problems_restriction($rs);
+}
+
sub updates_restriction {
my ($self, $rs) = @_;
return $rs if FixMyStreet->staging_flag('skip_checks');