diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-17 20:00:02 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-17 20:00:02 +0100 |
commit | 3ae492fdba798fb3e3bbeddc8cc7aaabc5210db5 (patch) | |
tree | f30759ccf024b10d87df3fec9b801a775ef4caf5 /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | 9495fe66792ce9733037e812f237bb2ccd7d96e6 (diff) | |
parent | 17e389222fd65b15a4004df28aacdc4c45bfd443 (diff) |
Merge branch 'js-you-only-load-once'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 7bde226ef..48cf53eb3 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -505,7 +505,7 @@ sub nearby_json : Private { ); my $json = { pins => \@pins }; - $json->{current} = $on_map_list_html if $on_map_list_html; + $json->{reports_list} = $on_map_list_html if $on_map_list_html; my $body = encode_json($json); $c->res->content_type('application/json; charset=utf-8'); $c->res->body($body); |