[BUGFIX] Record list: Fix condition for unlimited records 41/54341/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 9 Oct 2017 13:36:31 +0000 (15:36 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Wed, 11 Oct 2017 07:11:15 +0000 (09:11 +0200)
commit84b6c2cea1bfc90917db2bdc506c3b6410c1c4b9
tree2487ed9b5f704fd06cd1317c6c158fe9c08dfe14
parent125288a825c68136812e58528c2f135742c37de8
[BUGFIX] Record list: Fix condition for unlimited records

This patch fixes a condition that fails when a CSV export in the record
list is requested. The maximum limit of records is set, if `$iLimit` is
larger than 0 to avoid a `LIMIT 0` query.

Resolves: #82710
Related: #81651
Releases: master
Change-Id: I49779e4fa4b31e44d5457f90939e6f96a41e497b
Reviewed-on: https://review.typo3.org/54341
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php