aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-01-29 14:58:58 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-01-29 14:58:58 +0000
commitaf42a98fed07464deafef2ae21f00439a9c1a50b (patch)
tree628d133994bc99c703a8150daecb8e2676a2fce8 /perllib/FixMyStreet
parent9dcf91fc220f3251ce3d301d4de519bb9edad5e1 (diff)
parent6d0b3a9f716fd30fe840a17d60b96db8993c1558 (diff)
Merge branch 'bodies-list-cats-by-group'
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/App/Controller/Admin/Bodies.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm b/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm
index 18bcbbc5f..4bfca21ae 100644
--- a/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm
+++ b/perllib/FixMyStreet/App/Controller/Admin/Bodies.pm
@@ -127,6 +127,8 @@ sub edit : Chained('body') : PathPart('') : Args(0) {
# to display email addresses as text
$c->stash->{template} = 'admin/bodies/body.html';
$c->forward('/admin/fetch_contacts');
+ $c->stash->{contacts} = [ $c->stash->{contacts}->all ];
+ $c->forward('/report/stash_category_groups', [ $c->stash->{contacts}, 0 ]);
return 1;
}