All locations in Geodirectory > MultiLocations > Manage Locations have latitude / longitude coordinates. However, when searching and selecting a location based on city these coordinates do not get used. The relevant GET variables are “sgeo_lat=&sgeo_lon=”. As such, searching by city and distance yields no results…sort of. Underneath the map it still shows the number of results that you would get if searching by city alone (which does work), however (with distance applied) 0 results are shown. It shows something along the lines of 1 – 100 of 559, but no results are displayed on the map or below it.
Searching via zip-code or a street works completely fine.
Everything I have read leads me to believe that the “Near” search field should grab the lat/lon coordinates from the Locations.
I am aware that this utilizes advanced search, however I believe the bug to be in core, as following the code through the geodir_advance_search_filters/geodirectory_advanced_search_function.php with case RANGE and case RADIO leads to a comment saying that particular section is handled via geodirectory/geodirectory-functions/listing_filters.php