After a standard search with something like:

{% set results = craft.entries.search( query ) %}
{% for result in results %}
        <li>{{ result.link }}</li>
{% endfor %}

Is there a way to find out which field the query was found in?


This currently isn't possible natively in Craft, but if you think it should be, you can create a feature request!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.