Added order bei login for ticket.agent_of_group.

This commit is contained in:
Martin Edenhofer 2016-02-08 08:27:02 +01:00
parent e2ba5ac576
commit 52dc82bff9

View file

@ -88,6 +88,7 @@ returns
.users.where(active: true)
.joins(:roles)
.where('roles.name' => Z_ROLENAME_AGENT, 'roles.active' => true)
.order('users.login')
.uniq()
end