diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-04-07 13:36:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-04-07 13:50:02 +0100 |
commit | f1d0814c8689d3dff2d6793b13a097568d9518ee (patch) | |
tree | b40d3cf6dba5931e0bba692d2e6f3ead9da491e3 /perllib/FixMyStreet/Cobrand/Hounslow.pm | |
parent | 7a6f6b5adbd33bd2b1a9aa4e51120801b270f7aa (diff) |
[UK] Show Highways England categories on cobrands.
Without allowing through the Highways England body, clicking on a
Highways England road in these cobrands would leave no categories
to be selected.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Hounslow.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Hounslow.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Hounslow.pm b/perllib/FixMyStreet/Cobrand/Hounslow.pm index fffaf52e9..2fc949546 100644 --- a/perllib/FixMyStreet/Cobrand/Hounslow.pm +++ b/perllib/FixMyStreet/Cobrand/Hounslow.pm @@ -64,7 +64,10 @@ sub categories_restriction { # cobrand, not the email categories from FMS.com. We've set up the # Email categories with a devolved send_method, so can identify Open311 # categories as those which have a blank send_method. - return $rs->search( { 'me.send_method' => undef, 'body.name' => 'Hounslow Borough Council' } ); + return $rs->search({ + 'me.send_method' => undef, + 'body.name' => [ 'Hounslow Borough Council', 'Highways England' ], + }); } sub report_sent_confirmation_email { 'external_id' } |