forked from NYANDEV/forgejo
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