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?

1 Answer 1

4

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

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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