Feature #71911

Add signal to makeSearchString (Search in list module)

Added by Christoph Bessei almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-11-28
Due date:
% Done:

100%

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)

Associated revisions

Revision 67944d64 (diff)
Added by Tomita Militaru over 1 year ago

[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.

Resolves: #71911
Releases: master
Change-Id: I7513ce9c17a9dfef76caa4e78a61f8efed21d540
Reviewed-on: https://review.typo3.org/48090
Tested-by: TYPO3com <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#2 Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#3 Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#4 Updated by Gerrit Code Review about 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#5 Updated by Gerrit Code Review about 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#6 Updated by Gerrit Code Review over 1 year ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#7 Updated by Gerrit Code Review over 1 year ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#8 Updated by Gerrit Code Review over 1 year ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48090

#9 Updated by Tomita Militaru over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#10 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF