Support Forum
I've been looking at this post for clues on how to change the display order of the groups in the members list:
https://simple-press.com/suppo.....rs-groups/
When I pass the group id's in the desired order (comma seperated) in the id option, the order changes all right, but in a rather random way, also splitting up the users and the groups in multiple groups.
What am I doing wrong?
Well passing the user group IDs is not intended to alter or have an effect on the order user groups are displayed. This will normally be by user group ID. But running some tests here I don't see any splitting of groups or randomness to this. And remember that iof you are looking at things logged in as an admin then you will see them all regardless (which may not be desirable but is the way ot currently is).
So can you give me any more detail of what you mean by this 'splitting up of the users' etc?
YELLOW
SWORDFISH
|
Say I have a group called Managers (ID=1) and a group called Support (ID=2) and say I order them as described above in the order 2,1.
What I get is something like:
Group Support
Supportuser1
Supportuser3
Group Managers
Manager1
Manager2
Group Support
Supportuser2
etc..
I reckon changing the group ID's in the database is not a good idea?
Anyway, I arrived at an acceptable order by changing asc to desc
Thanks!
1 Guest(s)