3

After a standard search with something like:

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

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

4

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.