diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go index 57b8d9da2f..9cb392d878 100644 --- a/routers/web/user/profile.go +++ b/routers/web/user/profile.go @@ -114,7 +114,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]