Project

General

Profile

Actions

Feature #17290

closed

Frontend user groups not sorted in frontend admin panel (with solution)

Added by Jonas Felix over 17 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-05-10
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

The select box of 'simulate frontend user group' is not sorted, the groups are displaied in the order they where added (uid).

That makes it realy hard to select a group out of a big list of groups.

Solution:

Replace the current exec_SELECTquery( in the file t3lib/class.t3lib_tsfebeuserauth.php on line 295 with:

$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'fe_groups.uid, fe_groups.title',
'fe_groups,pages',
'pages.uid=fe_groups.pid AND pages.deleted=0 '.t3lib_BEfunc::deleteClause('fe_groups').' AND '.$this->getPagePermsClause(1),
'',
'fe_groups.title ASC'
);
(issue imported from #M5593)


Files

0005593.patch (955 Bytes) 0005593.patch Administrator Admin, 2007-07-16 14:19

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #17473: TCA fe_group/permission select order by title (for tt_content or pages)ClosedOliver Hader2007-07-16

Actions
Related to TYPO3 Core - Bug #20734: Order fe_groups in select fields alphabeticallyClosedChristian Kuhn2009-07-07

Actions
Actions

Also available in: Atom PDF