aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-10-14 19:17:48 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-14 19:22:19 +0100
commitfc507074651b9f70dab1eeed4772f678a21fe272 (patch)
tree4fdf00e3503c7612ea82953d41050c218b495861 /perllib/FixMyStreet/App/Controller/Around.pm
parent4760a1306737536070c2efb97918530af750f4e9 (diff)
Add ajax pin fetching to reports/my pages.
This matches the behaviour on /around, and prevents a refresh when changing the state or category filters.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index 1f45f8029..cd96c3b5d 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -292,9 +292,6 @@ sub ajax : Path('/ajax') {
my $all_pins = $c->get_param('all_pins') ? 1 : undef;
my $interval = $all_pins ? undef : $c->cobrand->on_map_default_max_pin_age;
- # Need to be the class that can handle it
- FixMyStreet::Map::set_map_class( 'OSM' );
-
$c->forward( '/reports/stash_report_filter_status' );
# extract the data from the map