Skip to content

Commit

Permalink
working part of #9998 (#10114) (#10115)
Browse files Browse the repository at this point in the history
Co-authored-by: zeripath <[email protected]>

Co-authored-by: zeripath <[email protected]>
  • Loading branch information
6543 and zeripath authored Feb 3, 2020
1 parent 1ed4323 commit 6896dad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions routers/user/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,13 +525,17 @@ func Issues(ctx *context.Context) {
}
}

issueStats, err := models.GetUserIssueStats(models.UserIssueStatsOptions{
issueStatsOpts := models.UserIssueStatsOptions{
UserID: ctxUser.ID,
UserRepoIDs: userRepoIDs,
FilterMode: filterMode,
IsPull: isPullList,
IsClosed: isShowClosed,
})
}
if len(repoIDs) > 0 {
issueStatsOpts.UserRepoIDs = repoIDs
}
issueStats, err := models.GetUserIssueStats(issueStatsOpts)
if err != nil {
ctx.ServerError("GetUserIssueStats", err)
return
Expand Down

0 comments on commit 6896dad

Please sign in to comment.