Browse Source

#2910

update
tags/v1.22.10.1^2
chenyifan01 3 years ago
parent
commit
b4d7fab682
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