mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Fix: Sort repos on org home page with non-admin login (#6741)
This commit is contained in:
@ -505,6 +505,7 @@ func showOrgProfile(ctx *context.Context) {
|
||||
ctx.ServerError("AccessibleReposEnv", err)
|
||||
return
|
||||
}
|
||||
env.SetSort(orderBy)
|
||||
if len(keyword) != 0 {
|
||||
env.AddKeyword(keyword)
|
||||
}
|
||||
|
Reference in New Issue
Block a user