aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/PopulateServiceList.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-08-26 15:05:30 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-08-26 15:05:30 +0100
commit0e45fa27e4bc857f61b71f6c121a61e08e54cb6a (patch)
tree7e83c50825819b60a9a73f16c4d4f0a4ff247650 /perllib/Open311/PopulateServiceList.pm
parentc1178ea85d1879d6533ac09e2a3c813441554b43 (diff)
parenta09c61c807d8d6b50227c9d8aa687f1eb22bad00 (diff)
Merge branch 'stevenage-open311'
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r--perllib/Open311/PopulateServiceList.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm
index 949e2baa9..c5f17334b 100644
--- a/perllib/Open311/PopulateServiceList.pm
+++ b/perllib/Open311/PopulateServiceList.pm
@@ -227,26 +227,26 @@ sub _add_meta_to_contact {
# for attributes which we *don't* want to display to the user (e.g. as
# fields in "category_extras"
+ if ($self->_current_body->name eq 'Bromley Council') {
+ $contact->set_extra_metadata( id_field => 'service_request_id_ext');
+ } elsif ($self->_current_body->name eq 'Warwickshire County Council') {
+ $contact->set_extra_metadata( id_field => 'external_id');
+ }
+
my %override = (
#2482
'Bromley Council' => [qw(
- service_request_id_ext
requested_datetime
report_url
title
last_name
email
- easting
- northing
report_title
public_anonymity_required
email_alerts_requested
) ],
#2243,
'Warwickshire County Council' => [qw(
- external_id
- easting
- northing
closest_address
) ],
);