Skip to content

Commit 877efb6

Browse files
committed
Fix order
1 parent 1a152ad commit 877efb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/organization/org_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (opts FindOrgOptions) ToConds() builder.Cond {
4949
}
5050

5151
func (opts FindOrgOptions) ToOrders() string {
52-
return "`user`.name ASC"
52+
return "`user`.lower_name ASC"
5353
}
5454

5555
// GetOrgsCanCreateRepoByUserID returns a list of organizations where given user ID

0 commit comments

Comments
 (0)