feat: Use order_by_name as default sort order for inbox/user (#1160)

This commit is contained in:
Pranav Raj S
2020-08-22 22:20:22 +05:30
committed by GitHub
parent 5917cd5d98
commit ec6cd4bbba
4 changed files with 5 additions and 3 deletions

View File

@@ -64,6 +64,6 @@ class Api::V1::Accounts::AgentsController < Api::V1::Accounts::BaseController
end
def agents
@agents ||= Current.account.users
@agents ||= Current.account.users.order_by_full_name
end
end