aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/PopulateServiceList.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-04-10 10:48:37 +0100
committerDave Arter <davea@mysociety.org>2018-04-10 10:48:37 +0100
commitd9fe55bcb414f5562d52a040ec27a530d812e351 (patch)
treef61a65e3fefab297c80261f6b11c5e7aedeb9290 /perllib/Open311/PopulateServiceList.pm
parentcae3b297d284a62f2b12145bd2328aabb04de39b (diff)
parent5526d1425629a87a3848f2a2826ecc1948800c8d (diff)
Merge branch 'issues/commercial/795-bath-demo'
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r--perllib/Open311/PopulateServiceList.pm5
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 => '%@%' }