summaryrefslogtreecommitdiffstats
path: root/routers/home.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/home.go
parent145648a2334ea4583cb51f2e95df2df366b17416 (diff)
downloadgitea-3a10a0c1ca4915db6323836fcc47e92500232714.tar.gz
gitea-3a10a0c1ca4915db6323836fcc47e92500232714.zip
Ordering organizations and users by name
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/home.go b/routers/home.go
index 2dd223b748..071a870cf3 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -176,7 +176,7 @@ func ExploreUsers(ctx *context.Context) {
Counter: models.CountUsers,
Ranger: models.Users,
PageSize: setting.UI.ExplorePagingNum,
- OrderBy: "updated_unix DESC",
+ OrderBy: "name ASC",
TplName: EXPLORE_USERS,
})
}
@@ -191,7 +191,7 @@ func ExploreOrganizations(ctx *context.Context) {
Counter: models.CountOrganizations,
Ranger: models.Organizations,
PageSize: setting.UI.ExplorePagingNum,
- OrderBy: "updated_unix DESC",
+ OrderBy: "name ASC",
TplName: EXPLORE_ORGANIZATIONS,
})
}