[BUGFIX] Incorrect grouping of exclude fields in translated backend 06/20506/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Thu, 2 May 2013 15:44:57 +0000 (17:44 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 5 May 2013 11:11:50 +0000 (13:11 +0200)
commitf49e4289781d2490f02709c444b71f23c89f0c1d
tree627deed3d8fa40bc320a0be0ecdf6e37d661bbac
parentdf13e81fed9fa93ec8af8839b61b2d82e562e471
[BUGFIX] Incorrect grouping of exclude fields in translated backend

If you use the backend in a language other than English, then the
grouping of the exclude fields in the be_group record is messed up when
flexform fields are included.

E.g. in a German backend, all tt_content fields are grouped below pages.

Sort the table names beforehand and afterwards all fields inside each
table.
Besides the patch converts some variables names into meaningful ones.

Fixes: #47839
Related: #34098
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I28ebc69d5cfc0316bdf44558276d3e939d011c2d
Reviewed-on: https://review.typo3.org/20506
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php