diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-09-27 10:53:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-09-27 10:53:43 +0100 |
commit | b519cf6566b285ce7cb1e6a65da873a1da693a0f (patch) | |
tree | 867bd632cd7250f33154b38c8f127f27956d9d1b /perllib/FixMyStreet/App/Controller/Admin.pm | |
parent | 77f31e8c96c727ea5ab9cf217cfd924074e8f3ed (diff) |
Ignore London in admin interface, text tweaks.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm index 2aaa488d6..8949e9f4c 100644 --- a/perllib/FixMyStreet/App/Controller/Admin.pm +++ b/perllib/FixMyStreet/App/Controller/Admin.pm @@ -217,7 +217,8 @@ sub council_list : Path('council_list') : Args(0) { $c->stash->{edit_activity} = $edit_activity; - my @area_types = $c->cobrand->area_types; + # Not London, as treated separately + my @area_types = grep { $_ ne 'LBO' } $c->cobrand->area_types; my $areas = mySociety::MaPit::call('areas', \@area_types); my @councils_ids = sort { strcoll($areas->{$a}->{name}, $areas->{$b}->{name}) } keys %$areas; |