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

Files: 
CommentFileSizeAuthor
ckeditor-6.x-sorted_profiles.patch755 bytesAlexisWilke

Comments

Title:The order the profiles are listed in changes all the time, requires sorting[D6] The order the profiles are listed in changes all the time, requires sorting
Status:Needs review» Fixed

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

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

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Title:[D6] The order the profiles are listed in changes all the time, requires sorting[D6] Add sorting to the profiles list