[TYPO3-core] RFC: #15845: Sorting in language dropdown is hardcoded

Georg Ringer mail at ringerge.org
Wed Sep 29 10:17:04 CEST 2010


Hey all,

this is a SVN patch request.

Type: bug, nobrainer

Branch: 4-5, 4-4, 4-3

BT reference: http://bugs.typo3.org/view.php?id=15845

Description:
The sorting in the language dropdown in the page module is hardcoded to
"title". Especially when using many languages it is nice to make it
sortable through TCA.

For me this is a bug as modifying the TCA to get a different sorting is
a known and used feature through the backend.

How to test:
1) Create some languages
2) Switch to the page module and see the sorting by title.
3) Apply the patch and insert something like
------
$GLOBALS['TCA']['sys_language']['ctrl']['sortby'] = 'uid DESC';
------
into extTables.php
4) Clear cache, reload page module and see the differrent sorting

Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15845-sys_language_sorting.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100929/2cc5b90e/attachment.txt>


More information about the TYPO3-team-core mailing list