Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expression engine: search in grid-fields does not work

I have built my faq-section with a grid that contains two columns, question and answer. I don't get search results from my grid-fields in entries. So my questions are unfortunately not searchable ...

In the fieldgroup the grid-Field itself and all grid-columns are marked as searchable.

The searchform has search_in="everywhere" and all Channels are activated.

The results-Code is

    <p>Keyword: {exp:search:keywords} - {exp:search:total_results}{total_results}{/exp:search:total_results}</p>  
<ul>
    {exp:search:search_results}
            <li><a href="{auto_path}">{title}{grid_budgetgruppen}</a></strong> from <em>{channel}</em><br/>{excerpt}<br/></li>
    {/exp:search:search_results}
</ul>

All other content gives proper results.

Any idea what's wrong?

like image 427
user2550697 Avatar asked Apr 16 '26 03:04

user2550697


1 Answers

Remember to set the field and at least one of its columns as searchable. The values of the chosen column will be concatenated on a database column specially to be searched.

like image 200
Sobral Avatar answered Apr 21 '26 01:04

Sobral



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!