[BUGFIX] Ensure correct field ordering in CSV export 44/50944/3
authorNicole Cordes <typo3@cordes.co>
Mon, 12 Dec 2016 22:01:14 +0000 (23:01 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 1 Jan 2017 09:25:59 +0000 (10:25 +0100)
commit220db6ee14f2769b6cc72058e4b2afea21d92c2c
treecaeae04f75279876044e0c20d2e1e452bf202325
parent43d0a5b6a965e91ca7f5c1cd1e4d47b94886c0a5
[BUGFIX] Ensure correct field ordering in CSV export

Due to patch https://review.typo3.org/48998/ the whole database record
is fetched from the database instead of only the visible fields. This
screws up the CSV export as this on relies of the field sorting of the
database row. This patch ensures a correct sorting of the row fields
before they are added to the CSV export.

Resolves: #78908
Releases: master, 7.6
Change-Id: I64f0213695c0cd13fecaa96343a5b1d9af1582f4
Reviewed-on: https://review.typo3.org/50944
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php