forked from External/greenlight
Removed default order by priority on roles (#1720)
This commit is contained in:
@ -54,7 +54,7 @@ module UsersHelper
|
||||
|
||||
# Returns a list of roles that the user can have
|
||||
def role_options
|
||||
Role.editable_roles(@user_domain).where("priority >= ?", current_user.role.priority)
|
||||
Role.editable_roles(@user_domain).where("priority >= ?", current_user.role.priority).by_priority
|
||||
end
|
||||
|
||||
# Parses markdown for rendering.
|
||||
|
Reference in New Issue
Block a user