diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Buckinghamshire.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm index 9bc095181..360704d40 100644 --- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm +++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm @@ -19,6 +19,10 @@ sub disambiguate_location { my $town = 'Buckinghamshire'; + # The geocoder returns two results for 'Aylesbury', so force the better + # result to be used. + $town = "$town, HP20 2NH" if $string =~ /[\s]*aylesbury[\s]*/i; + return { %{ $self->SUPER::disambiguate_location() }, town => $town, |