Skip to content

Commit bcbf43d

Browse files
garvinhickinggeorgringer
authored andcommitted
[BUGFIX] Allow more RecordList pages for pagination
The hard-coded limit of 1.000 pages is now raised to 10.000.000 pages (allowing to show 1 billion records by default) to meet Enterprise CMS expectations. Resolves: #107155 Releases: main, 13.4 Change-Id: I17ad369d07f9fecae59a281847e872384f8c419e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/90186 Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: core-ci <typo3@b13.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Georg Ringer <georg.ringer@gmail.com>
1 parent e405704 commit bcbf43d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2328,7 +2328,7 @@ public function start($id, $table, $pointer, $search = '', $levels = 0, $showLim
23282328
$this->table = 'pages';
23292329
$this->showOnlyTranslatedRecords = true;
23302330
}
2331-
$this->page = MathUtility::forceIntegerInRange((int)$pointer, 1, 1000);
2331+
$this->page = MathUtility::forceIntegerInRange((int)$pointer, 1, 10000000);
23322332
$this->showLimit = MathUtility::forceIntegerInRange((int)$showLimit, 0, 10000);
23332333
$this->searchString = trim($search);
23342334
$this->searchLevels = (int)$levels;

0 commit comments

Comments
 (0)