From 851bc6f936f5e2eebe54e83aeabe9c95388c5198 Mon Sep 17 00:00:00 2001 From: gcrico Date: Sun, 17 Nov 2024 12:52:27 -0500 Subject: [PATCH] Fix "itemsLimitPerTable" / "itemsLimitSingleTable" ranges and clarify interactions with TCA "maxDBListItems" / "maxSingleDBListItems" (#565) See : https://github.com/TYPO3/typo3/blob/3a42fd3456ffaee433bf2e4e45c04ba310be914e/typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php#L607 https://github.com/TYPO3/typo3/blob/3a42fd3456ffaee433bf2e4e45c04ba310be914e/typo3/sysext/core/Configuration/TCA/pages.php#L64 --- Documentation/PageTsconfig/Mod/WebList.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/PageTsconfig/Mod/WebList.rst b/Documentation/PageTsconfig/Mod/WebList.rst index 2533826..b6c6e8d 100644 --- a/Documentation/PageTsconfig/Mod/WebList.rst +++ b/Documentation/PageTsconfig/Mod/WebList.rst @@ -369,9 +369,13 @@ itemsLimitPerTable :Default: 20 ` Set the default maximum number of items to show per table. - The number must be between `5` and `10000`. If below or above this range, + The number must be between `0` and `10000`. If below or above this range, the nearest valid number will be used. + If a value is defined in the `$TCA[]['interface']['maxDBListItems']` + of the table, it will override this TSconfig option. + For example, the `maxDBListItems` for the `pages` table is `30` by default. + .. _pageTsConfigWebList-itemsLimitPerTable-example: Example: Limit items per table in overview to 10 @@ -398,9 +402,13 @@ itemsLimitSingleTable :Default: 100 Set the default maximum number of items to show in single table view. - The number must be between `5` and `10000`. If below or above this range, + The number must be between `0` and `10000`. If below or above this range, the nearest valid number will be used. + If a value is defined in the `$TCA[
]['interface']['maxSingleDBListItems']` + of the table, it will override this TSconfig option. + For example, the `maxSingleDBListItems` for the `pages` table is `50` by default. + .. _pageTsConfigWebList-itemsLimitSingleTable-example: Example: Limit items in single table view to 10