Project

General

Profile

Actions

Bug #103107

closed

DatabaseRecordList + Searchstring -> ItemsPerPage

Added by Harald Holzmann 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2024-02-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.2
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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

Actions

Also available in: Atom PDF