|
|
@@ -679,7 +679,7 @@ func (repo *Repository) getAssignees(e Engine) (_ []*User, err error) { |
|
|
userIDs[i] = accesses[i].UserID |
|
|
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 |
|
|
return nil, err |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|