Skip to content
Snippets Groups Projects
Commit b1d8b75c authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[BUGFIX] Fix "undefined array key" issues in LiveSearch's page jump

This patch adds a few null-coalesce conditions in the LiveSearch in case
a field not defined in TCA (in most cases uid and pid) is queried, which
is the case when using the "page jump" feature.

As a drive-by, these issues are fixed as well:
* Pass `$queryBuilder` as a reference, which makes no sense for objects
* Adding SQL constraints twice

Resolves: #96689
Releases: main, 11.5
Change-Id: Ie9470011581ef3f539cdd4c03e6d901285e5eb0e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73169


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 71872faf
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment