diff options
Diffstat (limited to 'routers/user/profile.go')
-rw-r--r-- | routers/user/profile.go | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/routers/user/profile.go b/routers/user/profile.go index 4c5cbf5081..6f8b8fe897 100644 --- a/routers/user/profile.go +++ b/routers/user/profile.go @@ -201,13 +201,14 @@ func Profile(ctx *context.Context) { ctx.Data["Total"] = total } else { repos, count, err = models.SearchRepositoryByName(&models.SearchRepoOptions{ - Keyword: keyword, - OwnerID: ctxUser.ID, - OrderBy: orderBy, - Private: showPrivate, - Page: page, - IsProfile: true, - PageSize: setting.UI.User.RepoPagingNum, + Keyword: keyword, + OwnerID: ctxUser.ID, + OrderBy: orderBy, + Private: showPrivate, + Page: page, + IsProfile: true, + PageSize: setting.UI.User.RepoPagingNum, + Collaborate: util.OptionalBoolFalse, }) if err != nil { ctx.ServerError("SearchRepositoryByName", err) |