pneumothorax
08-02-2009, 10:26 AM
Hi all,
I've got the following issue:
Created some public usergroups, each one with it's own user rank. If e user is a member of two or more groups ranks are displayed side by side. But all of them are displayed in reversed order. A quick look in function_ranks.php showed that the SQL query builds rank array with a DESC clause by default:
"ORDER BY ranks.usergroupid DESC, minposts DESC"
Changing to "ORDER BY ranks.usergroupid ASC, minposts DESC" fixed the issue and everything worked fine. Untill v3.8.3. Now it doesn't matter what I do, ranks are displayed with it's default order, which in my case displays ranks in reversed alphabetical order.
What could I do to fix this issue.
Any ideas are greatly appreciated.
Thank you!
Vasko Ivanov
I've got the following issue:
Created some public usergroups, each one with it's own user rank. If e user is a member of two or more groups ranks are displayed side by side. But all of them are displayed in reversed order. A quick look in function_ranks.php showed that the SQL query builds rank array with a DESC clause by default:
"ORDER BY ranks.usergroupid DESC, minposts DESC"
Changing to "ORDER BY ranks.usergroupid ASC, minposts DESC" fixed the issue and everything worked fine. Untill v3.8.3. Now it doesn't matter what I do, ranks are displayed with it's default order, which in my case displays ranks in reversed alphabetical order.
What could I do to fix this issue.
Any ideas are greatly appreciated.
Thank you!
Vasko Ivanov