Distance searching using latitude and longitude
I'm trying to get the Low Search Distance filter working - but for love nor money, this outputs ALL the results available. The channel and field names are correct; the fields are 'searchable'. What am I doing wrong?
{exp:low_search:results channel="locations" distance:from="50.7200|1.8800" distance:to="{locations_latitude}|{locations_longitude}" distance:radius="25"}
Replies
Low 4 Mar 2014 21:17
Use the field names without curly brackets, so: distance:to="locations_latitude|locations_longitude"
Does that help?
Justin Taylor 4 Mar 2014 21:46
Clearly I've been staring at this too long!
Thanks Low!