Add signal to makeSearchString (Search in list module)
Is it possible to add a signal in makeSearchString so an extension can change the behaviour of the backend search?
Possible use case for fe_users:
Search term "Lisa Mair" where Lisa is stored in the first_name
column and Mair in the last_name column.
The current search query won't find this entry (Since it searches for "Lisa Mair" in first_name and "Lisa Mair" in last_name).
With the new signal an extension could add something like:
OR MATCH(first_name,last_name) AGAINST('+Lisa* +Mair*' IN BOOLEAN MODE)
[FEATURE] Add constraint hook in DatabaseRecordList->makeSearchString
A newly introduced hook in DatabaseRecordList->makeSearchString allows to
modify the constraints which are applied to the search string.
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Susanne Moog <firstname.lastname@example.org>
Tested-by: Susanne Moog <email@example.com>
Reviewed-by: Wouter Wolters <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>