Open zorn-v opened 1 month ago
Also it will be possible to highlight "unmapped" field combined from other fields like
setSearchFields([
'customer.full_name' => 'customer.surname',
'customer.name',
'customer.patronymic',
])
Just realized that you can simply manually add searchable
css class to field via addCssClass
:smile:
Imagine crud controller with following configuration
In such case, search works fine by subnested field. Search query looks like
BUT, search terms does not highlighted in index page, because
searchable
css class does not added totd
With proposed change it will be possible to do like this and all will be fine