diff options
author | lstahlman <lstahlman@users.noreply.github.com> | 2016-08-09 10:00:42 -0700 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-08-09 10:00:42 -0700 |
commit | 2c82fc3edb94b84d12a0f94be0c7b0a73d756e83 (patch) | |
tree | b27e0fb05c8892a51de0552c91f179f4cd9a954d | |
parent | bbe866122db02c543cf4c72b0878ed1b08c8b07a (diff) | |
download | gitea-2c82fc3edb94b84d12a0f94be0c7b0a73d756e83.tar.gz gitea-2c82fc3edb94b84d12a0f94be0c7b0a73d756e83.zip |
Fix for #3410 overall issues for organisations is limited to num_repos from the user (#3412)
-rw-r--r-- | routers/user/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index 43d839ffd4..83b4b26166 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -202,7 +202,7 @@ func Issues(ctx *context.Context) { var err error var repos []*models.Repository if ctxUser.IsOrganization() { - repos, _, err = ctxUser.GetUserRepositories(ctx.User.ID, 1, ctx.User.NumRepos) + repos, _, err = ctxUser.GetUserRepositories(ctx.User.ID, 1, ctxUser.NumRepos) if err != nil { ctx.Handle(500, "GetRepositories", err) return |