aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-01-21 14:51:43 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-01-21 14:51:43 +0000
commit8b19598fe246d1ed57af75e600f8909a48f136bc (patch)
treeb8ca63d5d1fead59604d36eee5d38e31cdb14fe4 /perllib/FixMyStreet/App/Controller
parent3faaf00619d6a3546546903f1cbfee8347e735c4 (diff)
parente5161c960c9a42c5bbef2445281c8cd374dc9dc3 (diff)
Merge branch 'same-cat-different-groups'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index cbbf8971a..ba37a25fa 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -691,6 +691,8 @@ sub setup_categories_and_bodies : Private {
->search( { 'me.body_id' => [ keys %bodies ] }, { prefetch => 'body' } );
my @contacts = $c->cobrand->categories_restriction($contacts)->all_sorted;
+ $c->cobrand->call_hook(munge_report_new_contacts => \@contacts);
+
# variables to populate
my %bodies_to_list = (); # Bodies with categories assigned
my @category_options = (); # categories to show