Project

General

Profile

Actions

Bug #20609

closed

broken sorting of filemounts

Added by Georg Kühnberger over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-06-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Description:
- Given a Backend-User/Group has more than one filemount, those filemounts are displayed in broken/confusing order in the backend to the backend-user.
- The TYPO3-Admin has no meaningfull chance to change the order of those filesmounts.
- I percieve this as a bug, as the only workaround for defining a sort-order or filemounts would be fumbling with uid of the sys_filemounts in the DB. This is not feasable, and especially should not be reommended.

Info:
class.t3lib_userauthgroup.php grabs the users accumulated filemounts, however with no sorting at all;
that is, the filemounts are provided ordered by their UID, which however is neigther transparent nor changeable.
Given that the sys_filemounts are only in the root-page, no manual sorting is possible, eigther. (pitty);

Solution:
- Sort the filemounts alphabetically, by their title;
- This approach matches the expected behaviour of Admins and Users, as its well known from filesystems/directories.
- This allows for easily re-orderung via the backend, by simply renaming the given file-mounts.

Patch:
- Added an "orderBy" statement to two selects in t3lib/class.t3lib_userauthgroup.php

This patch should also go into versions <= 4.3
(issue imported from #M11318)


Files

bug_11318.diff (1.6 KB) bug_11318.diff Administrator Admin, 2009-06-12 02:50

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #22070: Filemounts are unsortedClosedSteffen Kamper2010-02-06

Actions
Actions #1

Updated by Steffen Kamper over 14 years ago

fixed in #22070

Actions

Also available in: Atom PDF