Using latest EE version.
The code below is using the global variable {location} to feed the search parameter, but no entries are being returned. If I substitute {location} with it’s actual value then entries are returned.
How come the global variable {location} isn’t working, I must be missing something?
{exp:channel:entries channel="{segment_1}" limit="5" search:postcode="{location}"}
{title}<br>
{/exp:channel:entries}Thank you
Lee