diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-12-13 11:35:34 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-12-13 12:31:43 +0000 |
commit | ea9d9fc2aa0bd2a89bcbe8198d1ecf57f404a9c5 (patch) | |
tree | 2a0b634164a7dc2afc74c2de5b198e4658bc8d6a | |
parent | 03f7a46b88c385008ccc16c3051413e9350db4c3 (diff) |
[Greenwich] Ignore Open311 groups.
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Greenwich.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Greenwich.pm b/perllib/FixMyStreet/Cobrand/Greenwich.pm index 9b7024b8e..bf172dbc7 100644 --- a/perllib/FixMyStreet/Cobrand/Greenwich.pm +++ b/perllib/FixMyStreet/Cobrand/Greenwich.pm @@ -56,6 +56,9 @@ sub open311_config { sub open311_contact_meta_override { my ($self, $service, $contact, $meta) = @_; + # Greenwich returns groups we do not want to use + $service->{group} = []; + my %server_set = (easting => 1, northing => 1, closest_address => 1); foreach (@$meta) { $_->{automated} = 'server_set' if $server_set{$_->{code}}; |