aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-01-30 16:55:20 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-01-30 16:55:20 +0000
commitc6992034cdbfdac30fb5704247585e294bba3566 (patch)
tree7acc108db8e9984098951ef3635fc687e6f5d673 /perllib/FixMyStreet/App/Controller/Around.pm
parentd001555702b9a05feebf308b9b007cb48b7dc2fd (diff)
parent82346b798099d4662528a63fbfb355aa991a0ea7 (diff)
Merge branch 'tfl-map-filter-category-groups'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index fb3670fb7..5afca29df 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -254,6 +254,7 @@ sub check_and_stash_category : Private {
)->all_sorted;
$c->stash->{filter_categories} = \@categories;
my %categories_mapped = map { $_->category => 1 } @categories;
+ $c->forward('/report/stash_category_groups', [ \@categories ]) if $c->cobrand->enable_category_groups;
my $categories = [ $c->get_param_list('filter_category', 1) ];
my %valid_categories = map { $_ => 1 } grep { $_ && $categories_mapped{$_} } @$categories;