diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-01-21 14:51:43 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-01-21 14:51:43 +0000 |
commit | 8b19598fe246d1ed57af75e600f8909a48f136bc (patch) | |
tree | b8ca63d5d1fead59604d36eee5d38e31cdb14fe4 /perllib/FixMyStreet/App/Controller | |
parent | 3faaf00619d6a3546546903f1cbfee8347e735c4 (diff) | |
parent | e5161c960c9a42c5bbef2445281c8cd374dc9dc3 (diff) |
Merge branch 'same-cat-different-groups'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 2 |
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 |