Currently the exposed proximity filter has 2 text boxes and a selectbox.
Additionally, because the filter has multiple inputs the url becomes field_geofield_distance[origin]=$a&field_geofield_distance[distance]=$b&field_geofield_distance[unit]=$c
Disabling access to distance and unit in a custom module reduces the url to:
field_geofield_distance[origin]=$a
This is still too long.
1: As noted in this issue the filter name is hardcoded to the unwieldy field_geofield_distance
, this can be changed in the views interface but it breaks the filter.
2: A single input filter shouldn't show array syntax
Suggestion: Make a new proximity filter that when exposed only takes origin. The end url should look like:
$field_name=$a
Comments
Comment #1
J V CreditAttribution: J V commentedFor that matter: Some people may want to have a fixed origin and only choose the distance, separate filters for that purpose would be nice too