diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-04-17 14:07:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-05-08 08:35:45 +0100 |
commit | d1622dc20c1623e3f7fb54d72d99370af796c197 (patch) | |
tree | 790277735485c4ef3514cedbed03c89c0a4d620e /perllib/FixMyStreet/App/Controller/Around.pm | |
parent | ecc5a7b9ca20418f1bdb45cdc3ce5b41a11f3593 (diff) |
Extend assigned_*_only to report lists.
Shortlist buttons and extended print information
will not appear where not allowed.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index af50f1883..0e87d1e70 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -262,6 +262,8 @@ sub check_and_stash_category : Private { my %valid_categories = map { $_ => 1 } grep { $_ && $categories_mapped{$_} } @$categories; $c->stash->{filter_category} = \%valid_categories; $c->cobrand->call_hook('munge_around_filter_category_list'); + + $c->forward('/report/assigned_users_only', [ \@categories ]); } sub map_features : Private { |