Fix: Sort repos on org home page with non-admin login (#6741)

This commit is contained in:
Lunny Xiao authored and zeripath committed 2019-04-24 19:20:22 +01:00
1 parent 821184c203
commit ff03b2f606
3 files changed
+55 -3

No files matched your search

+1
View File
@@ -505,6 +505,7 @@ func showOrgProfile(ctx *context.Context) {
ctx.ServerError("AccessibleReposEnv", err)
return
}
env.SetSort(orderBy)
if len(keyword) != 0 {
env.AddKeyword(keyword)
}