Comma-separated list of fields from the table that will be included when searching for records in the TYPO3 backend. No record from a table will ever be found if that table does not have
searchFieldsdefined. Only fields of the following TCA types are searchable:
Adding fields of different types to
searchFieldshas no effect.
There are more fine grained controls per column, see the documentation of the "search" key of any type in Field types (config > type).
Fields of type number or datetime may be excluded from search by default. To include them, modify the search query with this hook: Feature: #71911 - Add constraint hook in DatabaseRecordList->makeSearchString.
When searching as admin the fields
pidare automatically included. For editors,
pidhave to be added manually to the searchFields list.
Example from "tt_content" table:
'ctrl' => [ 'searchFields' => 'header,header_link,subheader,bodytext,pi_flexform', ... ],