Skip to content

Commit a12da66

Browse files
lunnytboerger
authored andcommitted
resolved #394 (#396)
1 parent b33078f commit a12da66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

routers/user/home.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ func Issues(ctx *context.Context) {
250250
}
251251
}
252252
ctx.Data["Repos"] = showRepos
253+
if len(repoIDs) == 0 {
254+
repoIDs = []int64{-1}
255+
}
253256

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

0 commit comments

Comments
 (0)