mirror of
https://github.com/go-gitea/gitea
synced 2024-11-10 20:24:24 +00:00
nix wording nit in todo code comment
This commit is contained in:
parent
eba6bfbe15
commit
c0db47bf9b
@ -112,7 +112,7 @@ func prepareUserProfileTabData(ctx *context.Context, showPrivate bool, profileDb
|
|||||||
|
|
||||||
sortOrder := ctx.FormString("sort")
|
sortOrder := ctx.FormString("sort")
|
||||||
if _, ok := repo_model.OrderByFlatMap[sortOrder]; !ok {
|
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
|
ctx.Data["SortType"] = sortOrder
|
||||||
orderBy = repo_model.OrderByFlatMap[sortOrder]
|
orderBy = repo_model.OrderByFlatMap[sortOrder]
|
||||||
|
Loading…
Reference in New Issue
Block a user