#103107DatabaseRecordList + Searchstring -> ItemsPerPage
Description
Hi,
when searching inside extbase list with a searchString the itemsPerPage ist set to totalitems
See TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList:597
// Set limit from search
if ($this->searchString) {
$itemsPerPage = $totalItems;
}
I have a Extbase-Table with 40.000 Entries and When Searching after a String called “example”, a list of 13.000 rows are returned. So the page size would be 13.000 and runs into timeout/outofmemory.
Should be configurable via TCA and also respect max settings (A Table with more than 500 rows makes no sense I guess). There is no event or other way to change the itemsperPage.
Thanks and best regards,
Harald
Reviews 3
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 82998 status
NewUnder Review 02/14/24, 14:15 -
Gerrit Code Review pushed patch set 1 for main to change 83002 02/14/24, 17:08
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 82974 02/14/24, 17:32
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % 02/14/24, 17:55 -
Benni Mack changed status
ResolvedClosed 07/09/24, 15:33
Applied in changeset commit:f1afd04d925a4d804cd2cc692a279a088d91c8e2.