1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

Allow to set explore page default sort (#27951)

as title


---
*Sponsored by Kithara Software GmbH*
This commit is contained in:
6543 2023-11-09 11:11:45 +01:00 committed by GitHub
parent 69d98f83f9
commit 16ba16dbe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 15 deletions

View file

@ -25,7 +25,7 @@ func Organizations(ctx *context.Context) {
}
if ctx.FormString("sort") == "" {
ctx.SetFormString("sort", UserSearchDefaultSortType)
ctx.SetFormString("sort", setting.UI.ExploreDefaultSort)
}
RenderUserSearch(ctx, &user_model.SearchUserOptions{