This commit is contained in:
Lunny Xiao 2016-12-23 08:26:01 +08:00 committed by Thomas Boerger
parent b33078fa33
commit a12da66dfb
1 changed files with 3 additions and 0 deletions

View File

@ -250,6 +250,9 @@ func Issues(ctx *context.Context) {
} }
} }
ctx.Data["Repos"] = showRepos ctx.Data["Repos"] = showRepos
if len(repoIDs) == 0 {
repoIDs = []int64{-1}
}
issueStats := models.GetUserIssueStats(repoID, ctxUser.ID, repoIDs, filterMode, isPullList) issueStats := models.GetUserIssueStats(repoID, ctxUser.ID, repoIDs, filterMode, isPullList)
issueStats.AllCount = int64(allCount) issueStats.AllCount = int64(allCount)