Added order bei login for ticket.agent_of_group.
This commit is contained in:
parent
e2ba5ac576
commit
52dc82bff9
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ returns
|
||||||
.users.where(active: true)
|
.users.where(active: true)
|
||||||
.joins(:roles)
|
.joins(:roles)
|
||||||
.where('roles.name' => Z_ROLENAME_AGENT, 'roles.active' => true)
|
.where('roles.name' => Z_ROLENAME_AGENT, 'roles.active' => true)
|
||||||
|
.order('users.login')
|
||||||
.uniq()
|
.uniq()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue