Posted by AlexisWilke on October 3, 2011 at 4:14am
4 followers
Jump to:
| Project: | CKEditor - WYSIWYG HTML editor |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | minor |
| Assigned: | AlexisWilke |
| Status: | closed (fixed) |
Issue Summary
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
| Attachment | Size |
|---|---|
| ckeditor-6.x-sorted_profiles.patch | 755 bytes |
Comments
#1
I 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
#2
dczepierga,
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
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4