Feature #88992
closedAdd "makeSearchStringConstraints" hook for LiveSearch
0%
Description
In TYPO3 9.2 you introduced a new hook to extend search query in list view:
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.2/Feature-71911-AddConstraintHookInDatabaseRecordListMakeSearchString.html
Because the LiveSearch is very similar implemented, it would be easily possible to add such constraint hook there as well.
The place for the hook could be \TYPO3\CMS\Backend\Search\LiveSearch\LiveSearch::makeQuerySearchByTable
right before checking if $constraints is empty.
Without such hook, you can only register a XClass to extend LiveSearch.
Updated by Christian Eßl over 4 years ago
- Related to Epic #88027: Properly handle Hooks/Signals and Events added
Updated by Gerrit Code Review about 4 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/c/Packages/TYPO3.CMS/+/65706
Updated by Gerrit Code Review about 4 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/c/Packages/TYPO3.CMS/+/65706
Updated by Gerrit Code Review about 4 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/c/Packages/TYPO3.CMS/+/65706
Updated by Christian Kuhn about 3 years ago
- Status changed from Under Review to New
Updated by Andreas Kienast about 2 years ago
- Related to Bug #93494: Not possible to define limit for live search added
Updated by Andreas Kienast about 2 years ago
- Status changed from New to Closed
Hey Armin,
in TYPO3 v12, there is an \TYPO3\CMS\Backend\Search\Event\ModifyQueryForLiveSearchEvent
event that allows you to adjust the query in an according event listener, introduced with #93494. I'll therefore close this ticket.
Kind regards
Andreas