diff options
author | Dave Arter <davea@mysociety.org> | 2017-10-30 12:11:08 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-10 10:42:33 +0100 |
commit | 8c135e97beb5850b116275f3a76a606a9d7a705c (patch) | |
tree | b0b0d498e3dc483c394a9a1c240d3c19bde53dd9 | |
parent | 5f961b2c727cc2a8f16b366c3bbab1173c42c425 (diff) |
[BANES] Don’t delete non-Open311 categories
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index 813c27cff..ac9f156ae 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -296,10 +296,11 @@ sub _delete_contacts_not_in_service_list { } ); - # for Warwickshire/Bristol, which are mixed Open311 and email, don't delete + # for Warwickshire/Bristol/BANES, which are mixed Open311 and email, don't delete # the email addresses if ($self->_current_body->name eq 'Warwickshire County Council' || - $self->_current_body->name eq 'Bristol City Council') { + $self->_current_body->name eq 'Bristol City Council' || + $self->_current_body->name eq 'Bath and North East Somerset Council') { $found_contacts = $found_contacts->search( { email => { -not_like => '%@%' } |