From 4098098f00c108c4d5d6c9b7c76250c55b4a5df4 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 1 Sep 2024 20:25:02 +0200 Subject: [PATCH] nix wording nit in todo code comment (cherry picked from commit c0db47bf9b6eb59d822ad21b7dd8b1d6acd8ad8e) --- routers/web/user/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go index 57b8d9da2..9cb392d87 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]