[BUGFIX] Recycler: Respect configurable pagingSize 43/45843/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 12 Jan 2016 16:12:55 +0000 (17:12 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 12 Jan 2016 18:13:29 +0000 (19:13 +0100)
The paging size was hardcoded to the value of "20" in the JavaScript.
The setting ``pagingSize``, holding the value defined by the controller
is now used instead.

Change-Id: Ief80070ca72b3f7b7bbcfcb803d088c35ef06709
Resolves: #72653
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45843
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/recycler/Resources/Public/JavaScript/Recycler.js

index ff2cf37..2cbbc86 100644 (file)
@@ -42,7 +42,7 @@ define(['jquery', 'nprogress', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/jqu
                        currentPage: 1,
                        totalPages: 1,
                        totalItems: 0,
-                       itemsPerPage: 20
+                       itemsPerPage: TYPO3.settings.Recycler.pagingSize
                },
                markedRecordsForMassAction: [],
                allToggled: false