diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-02 14:34:52 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-02 14:34:52 +0100 |
commit | 0f8281f5fe419c8ccb76a46e38243f6ab94dda7a (patch) | |
tree | 8dbef84deefafc286691784cd9ae3647934f8fe2 /perllib/FixMyStreet/App/Controller/Around.pm | |
parent | 9ddb8c6c990f618e3d65bc4a060f92bce43da7e1 (diff) | |
parent | a344b99a0bf37134079afda51c6f963e1163904b (diff) |
Merge branch 'collideoscope-anew'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Around.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm index ae7d83f55..bdf381294 100644 --- a/perllib/FixMyStreet/App/Controller/Around.pm +++ b/perllib/FixMyStreet/App/Controller/Around.pm @@ -257,12 +257,16 @@ sub map_features : Private { return if $c->get_param('js'); # JS will request the same (or more) data client side + # Allow the cobrand to add in any additional query parameters + my $extra_params = $c->cobrand->call_hook('display_location_extra_params'); + my ( $on_map, $nearby, $distance ) = FixMyStreet::Map::map_features( $c, %$extra, categories => [ keys %{$c->stash->{filter_category}} ], states => $c->stash->{filter_problem_states}, order => $c->stash->{sort_order}, + extra => $extra_params, ); my @pins; |