aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bexley/js.js
diff options
context:
space:
mode:
authorChris Mytton <chrismytton@gmail.com>2019-10-18 15:23:15 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-11-13 11:58:51 +0000
commit81d43fd892afec978ec2f1e69bdc93f709b84102 (patch)
treedcfd4878fe4c9a33a65dd3b22027f5cabc252812 /web/cobrands/bexley/js.js
parent2428a81a2284db45163f7f4375fcc3c852af06ec (diff)
[Bexley] Map NSG_REF as site_code for Confirm reports
Map the `NSG_REF` attribute to the `site_code` field in Bexley's Streets asset layer.
Diffstat (limited to 'web/cobrands/bexley/js.js')
-rw-r--r--web/cobrands/bexley/js.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/web/cobrands/bexley/js.js b/web/cobrands/bexley/js.js
index fa309cc61..89f52a7fb 100644
--- a/web/cobrands/bexley/js.js
+++ b/web/cobrands/bexley/js.js
@@ -74,10 +74,16 @@ fixmystreet.assets.add(road_defaults, {
}
},
nearest_radius: 100,
- usrn: {
- attribute: 'NSG_REF',
- field: 'NSGRef'
- }
+ usrn: [
+ {
+ attribute: 'NSG_REF',
+ field: 'NSGRef'
+ },
+ {
+ attribute: 'NSG_REF',
+ field: 'site_code'
+ }
+ ]
});
fixmystreet.assets.add(defaults, {