aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/My.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/My.pm
parentd001555702b9a05feebf308b9b007cb48b7dc2fd (diff)
parent82346b798099d4662528a63fbfb355aa991a0ea7 (diff)
Merge branch 'tfl-map-filter-category-groups'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/My.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/My.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/My.pm b/perllib/FixMyStreet/App/Controller/My.pm
index 1230bfcae..3328caac0 100644
--- a/perllib/FixMyStreet/App/Controller/My.pm
+++ b/perllib/FixMyStreet/App/Controller/My.pm
@@ -189,11 +189,12 @@ sub setup_page_data : Private {
my @categories = $c->stash->{problems_rs}->search({
state => [ FixMyStreet::DB::Result::Problem->visible_states() ],
}, {
- columns => [ 'category', 'bodies_str' ],
+ columns => [ 'category', 'bodies_str', 'extra' ],
distinct => 1,
order_by => [ 'category' ],
} )->all;
$c->stash->{filter_categories} = \@categories;
+ $c->forward('/report/stash_category_groups', [ \@categories ]) if $c->cobrand->enable_category_groups;
my $pins = $c->stash->{pins};
FixMyStreet::Map::display_map(