Issue Bug Closed

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

Florian Seirer 05/29/12, 17:17 updated 10/02/18, 12:17

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.