Bug #37575

BE: Sorting of files with upper- and lowercase filenames (rtehtmlarea, filelist)

Added by Florian Seirer 12 months ago. Updated 9 months ago.

Status:Accepted Start date:2012-05-29
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Backend User Interface
Target version:-
TYPO3 Version:4.5 Complexity:
PHP Version:
Votes: 1 (View)

Description

In RTEhtmlarea:
When creating a file link in the link popup, all files with uppercase letters show up before files with lowercase letters.
This could be irritating when a lot of files are in the same folder.

The list in the popup looks like this:
- A.pdf
- B.pdf
- C.pdf
- Z.pdf
- aaa.pdf
- zzzz.pdf

It should be:
- A.pdf
- aaa.pdf
- B.pdf
- C.pdf
- Z.pdf
- zzzz.pdf

A similar behaviour can also be observed in the filelist module:
The default view shows all files starting with uppercase letters before files starting with lowercase letters.
After clicking on the tables filename header to resort the filelist by name, the files are shown in the right order.
This is a workaround for the filelist module, but there is no such option in rtehtmlarea's link popup.

Is there a reason for this behaviour that I just don't see or is this a bug?

History

Updated by Chris topher 12 months ago

The two sorting methods I know of are telephone book and dictionary sorting (with differences in how exactly umlauts and other special characters are treated), but that lowercase letters would be put behind the uppercase letter "Z" really is non-standard and not user-friendly.

Updated by Jigal van Hemert 12 months ago

  • Status changed from New to Accepted

With the advanced localization handling in the BE we should probably also introduce collations and sort lists with diacriticals in the right order for the BE language.

Also available in: Atom PDF