diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-10-08 10:24:20 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-10-14 14:36:50 +0100 |
commit | ca2df0362def3476e9bf50a09513fc0a1fe2786a (patch) | |
tree | 23c775c7888911aa6c3798ecad17542ad550dfcb /perllib/FixMyStreet/App/Controller/Admin/Triage.pm | |
parent | f61ec9231b8562f27248ae2ba564bd809c54099a (diff) |
Refactor Reports controller a bit.
Split load_and_group_problems in two, split out category list/map setup,
and factor out sort stash setting. No actual changes.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin/Triage.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin/Triage.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin/Triage.pm b/perllib/FixMyStreet/App/Controller/Admin/Triage.pm index 385248cd1..50d1b1437 100644 --- a/perllib/FixMyStreet/App/Controller/Admin/Triage.pm +++ b/perllib/FixMyStreet/App/Controller/Admin/Triage.pm @@ -45,6 +45,7 @@ sub index : Path : Args(0) { } $c->stash->{body} = $c->forward('/reports/body_find', [ $c->cobrand->council_area ]); $c->forward( 'stash_report_filter_status' ); + $c->forward('/reports/stash_report_sort', [ $c->cobrand->reports_ordering ]); $c->forward( '/reports/load_and_group_problems' ); $c->stash->{page} = 'reports'; # So the map knows to make clickable pins |