aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report.pm
diff options
context:
space:
mode:
authorM Somerville <matthew-github@dracos.co.uk>2020-10-02 16:25:31 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-10-02 16:25:31 +0100
commitc344dd774bc68dd1b9c7d41dc3c63c29ce4b3f42 (patch)
treece45124c84f7be55653c92ab8f9a29650c6a8f8d /perllib/FixMyStreet/App/Controller/Report.pm
parent399b8a783a1833098ab8401087d8a6609ac6d515 (diff)
parente3e1e9d54999692dc01f3fdd32693547af8deb7b (diff)
Merge branch 'deleted-response-priorities'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm
index 81d5b18b5..98c4aba17 100644
--- a/perllib/FixMyStreet/App/Controller/Report.pm
+++ b/perllib/FixMyStreet/App/Controller/Report.pm
@@ -413,7 +413,8 @@ sub inspect : Private {
if ($c->cobrand->can('body')) {
my $priorities_by_category = FixMyStreet::App->model('DB::ResponsePriority')->by_categories(
$c->stash->{contacts},
- body_id => $c->cobrand->body->id
+ body_id => $c->cobrand->body->id,
+ problem => $problem,
);
$c->stash->{priorities_by_category} = $priorities_by_category;
my $templates_by_category = FixMyStreet::App->model('DB::ResponseTemplate')->by_categories(