mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Fix: Sort repos on org home page with non-admin login (#6741)
This commit is contained in:
parent
821184c203
commit
ff03b2f606
3 changed files with 55 additions and 3 deletions
|
@ -505,6 +505,7 @@ func showOrgProfile(ctx *context.Context) {
|
|||
ctx.ServerError("AccessibleReposEnv", err)
|
||||
return
|
||||
}
|
||||
env.SetSort(orderBy)
|
||||
if len(keyword) != 0 {
|
||||
env.AddKeyword(keyword)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue