diff options
author | Chris Mytton <chrismytton@gmail.com> | 2019-10-18 15:23:15 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-11-13 11:58:51 +0000 |
commit | 81d43fd892afec978ec2f1e69bdc93f709b84102 (patch) | |
tree | dcfd4878fe4c9a33a65dd3b22027f5cabc252812 /web/cobrands/bexley/js.js | |
parent | 2428a81a2284db45163f7f4375fcc3c852af06ec (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.js | 14 |
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, { |