-
Benni Mack authored
The DatabaseRecordList class has a few larger methods to compile HTML ready to be rendered. This change cleans up several parts of DatabaseRecordList in order to extract further functionality (such as CSV Export) into an own class: * Remove unused / overridden styling properties * Clean up "More records" button at the bottom of the page list * Rename internal variable $iLimit to $itemsPerPage * Separate the order of tables to list into a separate method "getTablesToRender()" out of the main method "generateList()" * Explicitly state the $table parameter for "listUrl()" methods where applicable * Move processing of columns-to-render per table to "getColumnsToRender()" * Move processing of SQL select fields to query to "getFieldsToSelect()" * Further cleanups regarding types (bool / int) Resolves: #93847 Releases: master Change-Id: Ib2eef99aa534a49c7799f320cd700f150335c36c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68666 Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: TYPO3com <noreply@typo3.com> Tested-by: core-ci <typo3@b13.com> Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Benni Mack <benni@typo3.org>
5044fe4d