aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2024-09-01 20:25:02 +0200
committer6543 <6543@obermui.de>2024-09-01 20:25:02 +0200
commitc0db47bf9b6eb59d822ad21b7dd8b1d6acd8ad8e (patch)
treec72707a5b46d3844d524bc921c480eab717421d4
parenteba6bfbe150d88a04e71521e2a0b4b804da159ff (diff)
downloadgitea-c0db47bf9b6eb59d822ad21b7dd8b1d6acd8ad8e.tar.gz
gitea-c0db47bf9b6eb59d822ad21b7dd8b1d6acd8ad8e.zip
nix wording nit in todo code comment
-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]