aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-08-13 12:53:26 +0100
committerChris Mytton <self@hecticjeff.net>2013-08-13 12:53:26 +0100
commit8bab599167f4cf91068db54ca253dba36a764995 (patch)
tree664cd504c254fe3dec29f5506e6437eb0fb03d54
parentf0020112b66a4cb1afb4d7d95e13fae9f6d84e45 (diff)
Specify town in Oxfordshire disambiguate_location
Part of #508 This seems like a bit of a misuse of this feature, mostly because I'm specifying a county in a parameter called town, but it appears to fix the immediate problem of not being able to find streets in oxfordshire.
-rw-r--r--perllib/FixMyStreet/Cobrand/Oxfordshire.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
index 2cf797e9e..173d5a09f 100644
--- a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
+++ b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm
@@ -39,6 +39,7 @@ sub disambiguate_location {
my $string = shift;
return {
%{ $self->SUPER::disambiguate_location() },
+ town => 'Oxfordshire',
centre => '51.765765,-1.322324',
span => '0.709058,0.849434',
bounds => [ 51.459413, -1.719500, 52.168471, -0.870066 ],