There are two ways the ‘location’ field in search can work. The presence of Google Maps API key for server side geocoding in WorkScout Core – Map Options determines which one is used.

If the API key is added (and configured properly – please refer to this article) the address typed in ‘location’ field is geocoded to latitude and longitude and all jobs that are in the selected radius of that point are returned in search results. The radius  value can be set by default in WorkScout Core options (it’s 20km by default).

The search function creates a debug file named geocode.txt in your wp-content folder – if you think the geolocation doesn’t work or results are incorrect, please first check this file for any messages from API

If there’s no API key added the search is strictly text based, the text typed by user is compared to the jobs address field to find matching results.