Sort auditable accounts (#35272)
This commit is contained in:
1 parent
efc0d237af
commit
39250ab961
1 file changed
+1
-1
@@ -6,7 +6,7 @@ module Admin
|
||||
|
||||
def index
|
||||
authorize :audit_log, :index?
|
||||
@auditable_accounts = Account.auditable.select(:id, :username)
|
||||
@auditable_accounts = Account.auditable.select(:id, :username).order(username: :asc)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in new issue
Block a user