Skip to content

Commit

Permalink
resolved go-gitea#394
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 15, 2016
1 parent c6b6a61 commit f6568a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions routers/user/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ func Issues(ctx *context.Context) {
}
}
ctx.Data["Repos"] = showRepos
if len(repoIDs) == 0 {
repoIDs = []int64{-1}
}

issueStats := models.GetUserIssueStats(repoID, ctxUser.ID, repoIDs, filterMode, isPullList)
issueStats.AllCount = int64(allCount)
Expand Down

0 comments on commit f6568a9

Please sign in to comment.