aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/duplicates.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-03-20 14:45:29 +0000
committerStruan Donald <struan@exo.org.uk>2020-03-31 09:58:58 +0100
commit0aef77167952f2ceff90e4aad27bdf871d55561e (patch)
tree115061a36fd819406045e99bfa16780471d5bc12 /web/js/duplicates.js
parent6e07f9477d0218151f80a181c7832fe73c6accac (diff)
Match body construction on Around with New setup.
On an around page on the HE cobrand, both bodies (HE and council) are listed and so when you clicked the map (not on a HE road) the not-HE code did not fire because it wasn't the only body present. But New.pm calls only return the HE body because they call munge_report_new_bodies. So it worked when you picked category/ moved pin. Around should call the munge function too so bodies is set up same as on New.pm. We need to always use the cobrand package, regardless of if it is a valid cobrand or not (for e.g. Bromley/Hounslow tests).
Diffstat (limited to 'web/js/duplicates.js')
0 files changed, 0 insertions, 0 deletions