Hi there,
I've been using the module for ages, and I'm just having to do a lot of tweaks as I'm moving from FCKeditor to CKEditor... this means I find myself in the list of profiles all the times and each time they appear in some random order.
If you're using MySQL you won't see that effect. However, PostgreSQL uses a fast write method that makes the list of profiles change all the time unless you first sort them.
I have a patch that just and only sorts when displaying the list of profiles in the admin screen. It's very simple and doesn't cost anything unless you go on that screen so I think it's not a biggy to add and it will please all PostgreSQL users, I'm sure.
Thank you.
Alexis Wilke
Comment | File | Size | Author |
---|---|---|---|
ckeditor-6.x-sorted_profiles.patch | 755 bytes | AlexisWilke | |
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commentedI add a little patch for it and commit to GIT.
It's not needed to use PHP sorting here, I only add ordering to SQL request :)
Pls update to last DEV version.
Greetings
Comment #2
AlexisWilke CreditAttribution: AlexisWilke commenteddczepierga,
FYI, I did it that way because the load is used in many places and the list doesn't need to be sorted except when displayed. So I would think mine was better optimized. This being said, with 3 or 4 rows, it's not a killer!
Thank you for applying a fix!
Alexis Wilke
Comment #4
mkesicki CreditAttribution: mkesicki commented