Sort auditable accounts (#35272)

This commit is contained in:
Osman 2025-07-30 08:08:05 -07:00 committed by GitHub
parent efc0d237af
commit 39250ab961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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