mirror of
1
Fork 0

nix wording nit in todo code comment

(cherry picked from commit c0db47bf9b6eb59d822ad21b7dd8b1d6acd8ad8e)
This commit is contained in:
6543 2024-09-01 20:25:02 +02:00 committed by Gergely Nagy
parent 5a0bc35799
commit 4098098f00
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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]