aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-06 11:29:07 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-06 11:29:07 +0000
commit91bec61612a5ad0c4ee87942dae0611a9a211243 (patch)
tree2fa7b8086cc3f4e036193fd109ec42d6eb4252eb /perllib/FixMyStreet/App/Controller/Report.pm
parent11f967fad0ce5d6700b8763ec73669bde7d49009 (diff)
parent4efc9d1bbea97c07c950f81773a03ff97c0755ff (diff)
Merge branch 'issues/forcouncils/248-duplicate-save-bug'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm
index 138098d5f..4c7931420 100644
--- a/perllib/FixMyStreet/App/Controller/Report.pm
+++ b/perllib/FixMyStreet/App/Controller/Report.pm
@@ -520,6 +520,9 @@ sub nearby_json : Private {
my $p = $c->stash->{problem};
my $dist = 1;
+ # This is for the list template, this is a list on that page.
+ $c->stash->{page} = 'report';
+
my $nearby = $c->model('DB::Nearby')->nearby(
$c, $dist, [ $p->id ], 5, $p->latitude, $p->longitude, undef, [ $p->category ], undef
);