|
|
@ -202,7 +202,6 @@ func Issues(ctx *context.Context) { |
|
|
|
userRepoIDs []int64 |
|
|
|
userRepoIDs []int64 |
|
|
|
showRepos = make([]*models.Repository, 0, 10) |
|
|
|
showRepos = make([]*models.Repository, 0, 10) |
|
|
|
) |
|
|
|
) |
|
|
|
if filterMode == models.FILTER_MODE_YOUR_REPOS { |
|
|
|
|
|
|
|
if ctxUser.IsOrganization() { |
|
|
|
if ctxUser.IsOrganization() { |
|
|
|
repos, _, err = ctxUser.GetUserRepositories(ctx.User.ID, 1, ctxUser.NumRepos) |
|
|
|
repos, _, err = ctxUser.GetUserRepositories(ctx.User.ID, 1, ctxUser.NumRepos) |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
@ -233,6 +232,7 @@ func Issues(ctx *context.Context) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
userRepoIDs = append(userRepoIDs, repo.ID) |
|
|
|
userRepoIDs = append(userRepoIDs, repo.ID) |
|
|
|
|
|
|
|
if filterMode == models.FILTER_MODE_YOUR_REPOS { |
|
|
|
showRepos = append(showRepos, repo) |
|
|
|
showRepos = append(showRepos, repo) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|