mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 09:51:01 +00:00
Sort users by login (#3891)
This commit is contained in:
parent
90f519caf3
commit
bc02d376b2
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ func (s storage) getUserLogin(sess *xorm.Session, login string) (*model.User, er
|
|||
|
||||
func (s storage) GetUserList(p *model.ListOptions) ([]*model.User, error) {
|
||||
var users []*model.User
|
||||
return users, s.paginate(p).OrderBy("id").Find(&users)
|
||||
return users, s.paginate(p).OrderBy("login").Find(&users)
|
||||
}
|
||||
|
||||
func (s storage) GetUserCount() (int64, error) {
|
||||
|
|
Loading…
Reference in a new issue