diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-03 16:20:34 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-03 16:20:34 +0100 |
commit | dee51cb3a741be837a41924c96dfef479236401f (patch) | |
tree | a80b4e89a25341075943166295f63303a61bdf30 /perllib/FixMyStreet/Cobrand/FiksGataMi.pm | |
parent | 539206556a45bf5cc03fcb87e2ea1ecdb3a40941 (diff) |
move Norway special case into cobrand
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/FiksGataMi.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/FiksGataMi.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm index 448f2e2a6..267be6958 100644 --- a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm +++ b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm @@ -70,6 +70,14 @@ sub remove_redundant_councils { if $all_councils->{3}; } +sub filter_all_council_ids_list { + my $self = shift; + my @all_councils_ids = @_; + + # as above we only want to show Oslo once + return grep { $_ != 301 } @all_councils_ids; +} + sub short_name { my $self = shift; my ($area, $info) = @_; |