Project

General

Profile

Actions

Feature #88992

closed

Add "makeSearchStringConstraints" hook for LiveSearch

Added by Armin Vieweg over 5 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2019-08-21
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Epic #88027: Properly handle Hooks/Signals and EventsClosedBenni Mack2022-04-22

Actions
Related to TYPO3 Core - Bug #93494: Not possible to define limit for live searchClosed2021-02-12

Actions
Actions

Also available in: Atom PDF