Closed (fixed)
Project:
OpenLayers Proximity
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2012 at 20:21 UTC
Updated:
24 Aug 2012 at 22:21 UTC
I have build an proximity search and all works fine when i search for cities. But sometimes, when i search for an zipcode, the search breaks and will show no results. When i add the country to circe[location] then it will work.
As example:
circle[location]=74072
dont work
circle[location]=74072+de
work
circle[location]=heilbronn
work
Is there any way to add an default country?
Comments
Comment #1
Helrunar commentedHere is a small solution with an custom module. First we use hook_form_alter to set a function to validate
then we use hook_form_validator to inject the default country
I will close this as fixed, but i think it will be a good solution to provide settings for countries as options to set in the module.