diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-27 18:11:06 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-15 12:30:31 +0100 |
commit | 34198b1d52dd38c4947a4073eecfe7ffff52afb3 (patch) | |
tree | 94c1e1ea269e753f0adcb0023f472f7ac2d31ab1 /perllib/FixMyStreet/App/Controller/Report | |
parent | 4eede46db49e74581f39e33bcd5e11b8638eaa9b (diff) |
Allow editing of category on admin report edit.
This also updates the body column to match the category.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index 71dbae83a..bbd27c666 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -661,6 +661,7 @@ sub setup_categories_and_bodies : Private { # put results onto stash for display $c->stash->{bodies} = \%bodies; + $c->stash->{contacts} = \@contacts; $c->stash->{all_body_names} = [ map { $_->name } values %bodies ]; $c->stash->{all_body_urls} = [ map { $_->external_url } values %bodies ]; $c->stash->{bodies_to_list} = [ keys %bodies_to_list ]; |