Issue Bug Closed

#28528inconsistency in class.t3lib_userauthgroup.php and tables.php

Georg Leitner 07/28/11, 09:00 updated 12/14/14, 18:51

Description

I searched for an option to sort multiple filemounts by title and checked #22070 and #20609.

Admin Tools > Configuration > TCA revealed an option $TCA[‘sys_filemounts’][‘ctrl’][‘sortby’] = ‘sorting’; Changing this value to ‘title’ doesn’t have the desired effect. After a look at the code I found the right option which is $TCA[‘sys_filemounts’][‘ctrl’][‘default_sortby’] (default_sortby instead of sortby).

In /t3lib/stddb/tables.php $TCA[‘sys_filemounts’][‘ctrl’][‘sortby’] = ‘sorting’ is defined, but the function fetchGroupData() in /t3lib/class.t3lib_userauthgroup.php checks $GLOBALS[‘TCA’][‘sys_filemounts’][‘ctrl’][‘default_sortby’].

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.