Commit 93d3a9a3 authored by Stephan Großberndt's avatar Stephan Großberndt Committed by Jigal van Hemert
Browse files

[BUGFIX] Use non-deprecated name for filesPerPage option

Change the configuration name for the filesPerPage option in the file
list module from mod.file_list.filesPerPage to
options.file_list.filesPerPage because using "mod." in user TSconfig
is deprecated.

Resolves: #75976
Related: #72923
Releases: master
Change-Id: I13ad1a0f28b59ebe1fec7ccf4a73eaec0ddb0044

Reviewed-by: default avatarDaniel Goerz <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: default avatarMarkus Sommer <>
Tested-by: default avatarMarkus Sommer <>
Reviewed-by: Jigal van Hemert's avatarJigal van Hemert <>
Tested-by: Jigal van Hemert's avatarJigal van Hemert <>
parent 298ccd3c
......@@ -9,7 +9,7 @@ It is now possible to configure the maximum number of files shown per page in th
.. code-block:: typoscript
mod.file_list {
options.file_list {
filesPerPage = 40
......@@ -197,7 +197,7 @@ class FileList extends AbstractRecordList
$this->fileListController = $fileListController;
$this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
$modTSconfig = BackendUtility::getModTSconfig(0, 'mod.file_list');
$modTSconfig = BackendUtility::getModTSconfig(0, 'options.file_list');
if (!empty($modTSconfig['properties']['filesPerPage'])) {
$this->iLimit = MathUtility::forceIntegerInRange($modTSconfig['properties']['filesPerPage'], 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment