summaryrefslogtreecommitdiffstats
path: root/routers/admin/repos.go
diff options
context:
space:
mode:
authorThibault Meyer <meyer.thibault@gmail.com>2016-11-10 09:10:35 +0100
committerThibault Meyer <meyer.thibault@gmail.com>2016-11-10 09:18:54 +0100
commit3a10a0c1ca4915db6323836fcc47e92500232714 (patch)
treeefdf44a7b7d5461f9795dc76bd0150bcc788bee7 /routers/admin/repos.go
parent145648a2334ea4583cb51f2e95df2df366b17416 (diff)
downloadgitea-3a10a0c1ca4915db6323836fcc47e92500232714.tar.gz
gitea-3a10a0c1ca4915db6323836fcc47e92500232714.zip
Ordering organizations and users by name
Diffstat (limited to 'routers/admin/repos.go')
-rw-r--r--routers/admin/repos.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/repos.go b/routers/admin/repos.go
index 2c32070ed3..d19b01c4cb 100644
--- a/routers/admin/repos.go
+++ b/routers/admin/repos.go
@@ -27,7 +27,7 @@ func Repos(ctx *context.Context) {
Ranger: models.Repositories,
Private: true,
PageSize: setting.UI.Admin.RepoPagingNum,
- OrderBy: "id ASC",
+ OrderBy: "owner_id ASC, name ASC, id ASC",
TplName: REPOS,
})
}