[BUGFIX] Make number of listed records in EXT:recycler configurable again 25/53425/2
authorStephan Großberndt <stephan@grossberndt.de>
Wed, 5 Jul 2017 13:32:58 +0000 (15:32 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Sat, 8 Jul 2017 16:56:51 +0000 (18:56 +0200)
Respect the number of records to fetch configured in TSconfig using
mod.recycler.recordsPageLimit again.

Releases: master, 8.7
Resolves: #81803
Related: #1835
Change-Id: Ic156e290d39ad38e02541bfe7fe80a16296b2f37
Reviewed-on: https://review.typo3.org/53425
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/recycler/Classes/Controller/RecyclerAjaxController.php

index c6b42cb..8442c1c 100644 (file)
@@ -43,6 +43,7 @@ class RecyclerAjaxController
         // Configuration, variable assignment
         $this->conf['action'] = GeneralUtility::_GP('action');
         $this->conf['table'] = GeneralUtility::_GP('table') ? GeneralUtility::_GP('table') : '';
         // Configuration, variable assignment
         $this->conf['action'] = GeneralUtility::_GP('action');
         $this->conf['table'] = GeneralUtility::_GP('table') ? GeneralUtility::_GP('table') : '';
+        $modTS = $this->getBackendUser()->getTSConfig('mod.recycler');
         if (isset($modTS['properties']['recordsPageLimit']) && (int)$modTS['properties']['recordsPageLimit'] > 0) {
             $this->conf['limit'] = (int)$modTS['properties']['recordsPageLimit'];
         } else {
         if (isset($modTS['properties']['recordsPageLimit']) && (int)$modTS['properties']['recordsPageLimit'] > 0) {
             $this->conf['limit'] = (int)$modTS['properties']['recordsPageLimit'];
         } else {