Hi,
I have discovered two issues when using the geo filter in the filter module.
- The value in the autopopulate field is often empty/forgotten after performing a search. This is quite annoying when you change the distance multiple times for the same location.
- After performing a location search, the field collapses in the module, whereas all other field remain open after a search.
Replace input box for distance with dropdown
Not really an issue but something I haven't able to solve yet.
I am trying to replace the distance input box with a dropdown select box with a fixed set of distances.
<select name="filters[<?php echo $this->key;?>][radius]" id="filters<?php echo $this->key;?>radius" onchange="setCircleRadius<?php echo $this->id ?>()" >
<option value="">Distance</option>
<option value="5">+ 5 km</option>
<option value="10">+ 10 km</option>
<option value="20">+ 20 km</option>
<option value="50">+ 50 km</option>
<option value="100">+ 100 km</option>
</select>
It won't however remember the last selected option. Suggestions, anyone?
Hi,
I have discovered two issues when using the geo filter in the filter module.
Replace input box for distance with dropdown
Not really an issue but something I haven't able to solve yet.
I am trying to replace the distance input box with a dropdown select box with a fixed set of distances.
It won't however remember the last selected option. Suggestions, anyone?