This commit is contained in:
2019-01-30 15:37:32 +01:00
parent a967cf9e99
commit 83e2f421d9
2 changed files with 68 additions and 65 deletions
+3
View File
@@ -413,6 +413,9 @@ func showOrgProfile(ctx *context.Context) {
ctx.Data["Repos"] = repos
} else {
showPrivate := ctx.IsSigned && ctx.User.IsAdmin
fmt.Println("[DEBUG/home.go] showPrivate := ctx.IsSigned && ctx.User.IsAdmin: ", showPrivate)
repos, err = models.GetUserRepositories(org.ID, showPrivate, page, setting.UI.User.RepoPagingNum, "")
if err != nil {
ctx.ServerError("GetRepositories", err)