[BUGFIX] Ensure correct field ordering in CSV export 87/51087/2
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:27:35 +0000 (10:27 +0100)
commited23d0b563ab538d7a04e8185b958eee71977a51
tree011ff4babd4bb09700cb3c3001c3fc1bc5d4a7af
parentf20356a6de701ebe694ceed3dd70cb8fe02e8f75
[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/51087
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