Breaking: #106972 - TCA control option searchFields removed
See forge#106972
Description
The TCA control option
$GLOBALS
has been removed.
With the introduction of the Schema API and the
\TYPO3\ component,
the handling of fields included in searches has changed. By default, all
fields of suitable types, such as input or text, are now automatically
considered searchable.
To manually define searchable fields, use the new
searchable field
configuration option within a field's TCA configuration.
See the full list of supported field types
here.
Unsupported field types (such as file, inline, etc.) are not considered
searchable and do not support the searchable option.
Note
This change does not affect the Page TSconfig option used by
EXT:linkvalidator:
mod..
Impact
The search option is no longer evaluated. It is automatically
removed at runtime through a TCA migration, and a deprecation log entry is
generated to highlight where adjustments are required.
If suitable fields are detected that were
not listed in the removed
search option, they are automatically
set to
searchable => false to preserve previous behavior.
Affected installations
All installations that define search in their TCA configuration.
Migration
Remove the search option from the ctrl section of your TCA
configuration.
If needed, use the searchable option in individual field definitions
to control which fields are included in the search functionality.