aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/user/profile.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/user/profile.go')
-rw-r--r--routers/web/user/profile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go
index 39c6d23079..5748ce45ab 100644
--- a/routers/web/user/profile.go
+++ b/routers/web/user/profile.go
@@ -112,7 +112,7 @@ func prepareUserProfileTabData(ctx *context.Context, showPrivate bool, profileDb
sortOrder := ctx.FormString("sort")
if _, ok := repo_model.OrderByFlatMap[sortOrder]; !ok {
- sortOrder = setting.UI.ExploreDefaultSort // TODO: add new default sort order for org home?
+ sortOrder = setting.UI.ExploreDefaultSort // TODO: add new default sort order for user home?
}
ctx.Data["SortType"] = sortOrder
orderBy = repo_model.OrderByFlatMap[sortOrder]