aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Geocode/OSM.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-15 12:34:01 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-15 12:34:01 +0000
commit314f3be6ecc3ac7d33a6619a56ecfbab2f6ea494 (patch)
tree73ae42b00de6ade2acc6417f8e4779844150d1c5 /perllib/FixMyStreet/Geocode/OSM.pm
parentd51c9bcd916a69b3a71d7d7bdb591c2afcfb5503 (diff)
parentc9dd01a66866dbd7ff867608edcd5c82a0b5e1db (diff)
Merge branch '1905-fix-broken-geocoder-results'
Diffstat (limited to 'perllib/FixMyStreet/Geocode/OSM.pm')
-rw-r--r--perllib/FixMyStreet/Geocode/OSM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Geocode/OSM.pm b/perllib/FixMyStreet/Geocode/OSM.pm
index f165963d7..020be3c2a 100644
--- a/perllib/FixMyStreet/Geocode/OSM.pm
+++ b/perllib/FixMyStreet/Geocode/OSM.pm
@@ -41,7 +41,7 @@ sub string {
if $params->{bounds};
$query_params{countrycodes} = $params->{country}
if $params->{country};
- $url .= join('&', map { "$_=$query_params{$_}" } keys %query_params);
+ $url .= join('&', map { "$_=$query_params{$_}" } sort keys %query_params);
my $js = FixMyStreet::Geocode::cache('osm', $url);
if (!$js) {