mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-26 23:35:51 +03:00
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
2c903383b5
commit
e959d1a48b
1 changed files with 6 additions and 2 deletions
|
@ -538,13 +538,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
|
||||
|
|
Loading…
Reference in a new issue