Browse Source

Fix for #3410 overall issues for organisations is limited to num_repos from the user (#3412)

for-closed-social
lstahlman 8 years ago
committed by 无闻
parent
commit
2c82fc3edb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/user/home.go

+ 1
- 1
routers/user/home.go View File

@ -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

Loading…
Cancel
Save