diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-15 14:03:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-18 09:43:42 +0100 |
commit | d2c9d3f4dbdff822f90a4934d858dabec2c85e17 (patch) | |
tree | 229ecaae84b7b5659953faa30fe1b281a1ff45cf /perllib/FixMyStreet/App/Controller/Reports.pm | |
parent | 31b8337e38b1b39db1660fb877bf1419cc6128f9 (diff) |
[Zurich] Bring all reports in line with upstream.
Update the map/list if the map is zoomed/panned, and make sure the
updated HTML list is returned.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 2b5777773..fbb0e94a1 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -36,6 +36,7 @@ sub index : Path : Args(0) { if ( $c->cobrand->moniker eq 'zurich' ) { $c->forward( 'stash_report_filter_status' ); $c->forward( 'load_and_group_problems' ); + $c->stash->{body} = { id => 0 }; # So template can fetch the list if ($c->get_param('ajax')) { $c->detach('ajax', [ 'reports/_problem-list.html' ]); |