Browse Source

Merge pull request '#2910 项目视图任务页签指派人筛选和指派成员字段按人员账号字母升序排列' (#2996) from fix-2910 into V20221019

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2996
Reviewed-by: ychao_1983 <ychao_1983@sina.com>
tags/v1.22.10.1^2
ychao_1983 3 years ago
parent
commit
c83aef51c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

@@ -679,7 +679,7 @@ func (repo *Repository) getAssignees(e Engine) (_ []*User, err error) {
userIDs[i] = accesses[i].UserID
}

if err = e.In("id", userIDs).Find(&users); err != nil {
if err = e.In("id", userIDs).OrderBy("name asc").Find(&users); err != nil {
return nil, err
}
}


Loading…
Cancel
Save