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/TfL.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/TfL.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/TfL.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/TfL.pm b/perllib/FixMyStreet/Cobrand/TfL.pm index 72d1dbc86..b80929f25 100644 --- a/perllib/FixMyStreet/Cobrand/TfL.pm +++ b/perllib/FixMyStreet/Cobrand/TfL.pm @@ -112,7 +112,7 @@ sub base_url_for_report { sub categories_restriction { my ($self, $rs) = @_; - $rs = $rs->search( { 'body.name' => 'TfL' } ); + $rs = $rs->search( { 'body.name' => [ 'TfL', 'Highways England' ] } ); return $rs unless $self->{c}->stash->{categories_for_point}; # Admin page return $rs->search( { category => { -not_in => $self->_tfl_no_resend_categories } } ); } |