Actions
Feature #71911
closedAdd signal to makeSearchString (Search in list module)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-11-28
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
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)
Actions