Skip to content

Commit

Permalink
[Northumberland] Add defaults to geolocation
Browse files Browse the repository at this point in the history
Restrict searches to the UK

mysociety/societyworks#4500
  • Loading branch information
MorayMySoc committed Feb 17, 2025
1 parent 98764b8 commit 15a01cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perllib/FixMyStreet/Cobrand/Northumberland.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ sub disambiguate_location {
my $string = shift;

return {
%{ $self->SUPER::disambiguate_location() },

Check warning on line 36 in perllib/FixMyStreet/Cobrand/Northumberland.pm

View check run for this annotation

Codecov / codecov/patch

perllib/FixMyStreet/Cobrand/Northumberland.pm#L36

Added line #L36 was not covered by tests
centre => '55.2426024934787,-2.06541585421059',
span => '1.02929721743568,1.22989513596542',
bounds => [ 54.7823703267595, -2.68978494847825, 55.8116675441952, -1.45988981251283 ],
Expand Down

0 comments on commit 15a01cb

Please sign in to comment.