Project

General

Profile

Actions

Bug #22382

closed

Sort Order of FIles/Folders Inaccurate

Added by Bill Tenny-Brittian over 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-04-06
Due date:
% Done:

0%

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

Description

When using Browse for Files, the list that appears is sorted alpha-numerically, but upper case letters are prioritized above lower case letters ... thus aardvark.txt will be sorted after Zulu.txt. This can be seen when using the Text with Image or Media Content Elements.

In addition, when using Filelist, the folders in fileadmin are sorted similarly ... upper case letters have priority over lower case.

I have included an image that shows the mis-ordering of files when clicking on the Select Files or URL in the Media CE.

Reproduced by Jeff Segars.
(issue imported from #M14008)


Files

AddFilesInMedia.png (45.1 KB) AddFilesInMedia.png Administrator Admin, 2010-04-06 16:21
fileadmin-folders.png (16.9 KB) fileadmin-folders.png Administrator Admin, 2010-04-06 16:25
14008.diff (4.43 KB) 14008.diff Administrator Admin, 2010-04-06 20:14
14008_sorting.gif (67.3 KB) 14008_sorting.gif Administrator Admin, 2010-04-13 22:35
Actions #1

Updated by Jeff Segars over 14 years ago

Just added first version of a patch. We now use natcasesort() in t3lib_div::getFilesInDir() and have a sorting option available in t3lib_div::get_dirs().

Actions #2

Updated by Jeff Segars over 14 years ago

Added screenshot showing inconsistent sorting. Filelist appears to sort the files differently than anywhere else, but in my opinion its ordering is better for the end user.

Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.3

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #4

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Jeff Segars)
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF