[BUGFIX] Incorrect grouping of exclude fields in translated backend 36/21636/2
authorJigal van Hemert <jigal@xs4all.nl>
Sun, 5 May 2013 13:26:51 +0000 (15:26 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 26 Jun 2013 18:40:40 +0000 (20:40 +0200)
commit0a8c9ddbafc8c22889c731197a6777206cdc8aaf
tree6e6e733c605031669c0b6ed47460cb9227d3e6e5
parent118ae1ea96aca42c0c1ca3c9bde50109afaa56f9
[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.

For TYPO3_4-5, the patch merges the existing unit test into this file.

Change-Id: I28ebc69d5cfc0316bdf44558276d3e939d011c2d
Fixes: #47839
Related: #34098
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21636
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
t3lib/class.t3lib_befunc.php
tests/t3lib/class.t3lib_befuncTest.php [new file with mode: 0644]
tests/t3lib/t3lib_befuncTest.php [deleted file]