Project

General

Profile

Actions

Bug #28528

closed

inconsistency in class.t3lib_userauthgroup.php and tables.php

Added by Georg Leitner over 13 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2011-07-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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'].

Actions

Also available in: Atom PDF