mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
fix comment
This commit is contained in:
parent
a72b98d72d
commit
456b85af14
@ -51,7 +51,7 @@ func Home(ctx *context.Context) {
|
|||||||
|
|
||||||
sortOrder := strings.ToLower(ctx.FormString("sort"))
|
sortOrder := strings.ToLower(ctx.FormString("sort"))
|
||||||
if sortOrder == "" {
|
if sortOrder == "" {
|
||||||
// TODO: add new default sort for org home?
|
// TODO: add new default sort order for org home?
|
||||||
sortOrder = setting.UI.ExploreDefaultSort
|
sortOrder = setting.UI.ExploreDefaultSort
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ func prepareUserProfileTabData(ctx *context.Context, showPrivate bool, profileDb
|
|||||||
|
|
||||||
sortOrder := strings.ToLower(ctx.FormString("sort"))
|
sortOrder := strings.ToLower(ctx.FormString("sort"))
|
||||||
if sortOrder == "" {
|
if sortOrder == "" {
|
||||||
// TODO: add new default sort for user profile?
|
// TODO: add new default sort order for user profile?
|
||||||
sortOrder = setting.UI.ExploreDefaultSort
|
sortOrder = setting.UI.ExploreDefaultSort
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user