Bug #103107
closedDatabaseRecordList + Searchstring -> ItemsPerPage
100%
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
Updated by Gerrit Code Review 9 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82998
Updated by Gerrit Code Review 9 months ago
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83002
Updated by Gerrit Code Review 9 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82974
Updated by Oliver Bartsch 9 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f1afd04d925a4d804cd2cc692a279a088d91c8e2.