Breaking: #106972 - TCA control option searchFields removed
See forge#106972
Description
The TCA control option
search
has been removed.
Based on the Schema API and the
Searchable
component,
the handling of fields to be included in searches has been changed. By default
all fields of suitable field types, such as input
or text
are automatically
considered.
To manually configure searchable fields, the new
searchable
field
configuration can be set in a field's TCA configuration. See the full list
here.
Unsupported field types (such as file
, inline
, etc.) are not
considered searchable and do not support the
searchable
option.
Note
Be aware that this does not apply to the Page
option used by
EXT:
: mod.
.
Impact
The 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.
In case suitable fields are found, which are
not in the to be removed
search
option, those are set to
searchable => false
to keep previous behaviour.
Affected installations
All installations using this option in their TCA configuration.
Migration
Remove the
search
option from your TCA ctrl
section.
If needed, use the
searchable
option in individual field definitions
to control which fields are included in search functionality.