Works like a champ with both BUE and WYSIWYG but the files are out of order. Small sample in attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | imce_extras.js_.patch | 747 bytes | ufku |
| #5 | imce_file_order.png | 89.72 KB | kakor |
| imce.jpeg | 18.46 KB | eyecon-1 |
Works like a champ with both BUE and WYSIWYG but the files are out of order. Small sample in attached image.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | imce_extras.js_.patch | 747 bytes | ufku |
| #5 | imce_file_order.png | 89.72 KB | kakor |
| imce.jpeg | 18.46 KB | eyecon-1 |
Comments
Comment #1
ufku commentedthis is a theme issue.
You can style the filename cells using
#imce-content table.files td.name {
text-align: left !important;
}
Comment #2
eyecon-1 commentedThe sort order is a theme issue?
Comment #3
ufku commentedSo it was the sort order ha.
Is the behavior always observed? For any directory list?
Tried logging out, clearing cookies, logging in?
Comment #4
eyecon-1 commentedIt only occurs on the server. Local directories list perfectly. This never happened on the 5.x branch. I cleared the cache and the cookies - even trying a different browser (Opera v Firefox). The sort is all over the place.
Comment #5
kakor commentedI can confirm this behaviour, I have the same problem. Attaching a screen capture.
Comment #6
samtherobot commentedSame issue here.
Comment #7
ufku commentedCan you please review the patch?
It changes line 151 of js/imce_extras.js
from
imce.sortStrAsc = function(a, b) {return a.charAt(0).toLowerCase() < b.charAt(0).toLowerCase() ? -1 : b < a;};to
imce.sortStrAsc = function(a, b) {return a.toLowerCase() < b.toLowerCase() ? -1 : 1;};Comment #8
nathanmcginty commentedexact same thing. i'll try the patch.
Comment #9
nathanmcginty commentednope. patch applied fine. didn't do anything i could tell.
Comment #10
nathanmcginty commentedholy cr**.
it worked. sorry - had to flush the cache.
thanks!
Comment #11
ufku commentedcommitted. thank you all.
Comment #13
Jorrit commentedIs a release containing this fix coming soon?