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

[BUGFIX] Harmonize page ids in Record List search

The list of ids generated by `getSearchableWebmounts()` may contain
duplicated values being passed into an `IN()` criteria, causing
additional load to the database server.

The values are now de-duplicated by applying `array_unique()` onto the
list before passing the list around.

Resolves: #100750
Releases: main, 11.5
Change-Id: Ib49bf1a5903cca2fbaa12ea240050caa7908f69c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78874


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>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent 18aaf13a
Branches
Tags
No related merge requests found
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