Add repository condition for issue count (#20454)

* Add repository condition for issue count

* Update routers/web/user/home.go

Co-authored-by: Gusted <williamzijl7@hotmail.com>

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Tyrone Yeh 2022-07-25 00:53:40 +08:00 committed by GitHub
parent 9cf0352f14
commit 16edee85bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -591,6 +591,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
LabelIDs: opts.LabelIDs, LabelIDs: opts.LabelIDs,
Org: org, Org: org,
Team: team, Team: team,
RepoCond: opts.RepoCond,
} }
issueStats, err = issues_model.GetUserIssueStats(statsOpts) issueStats, err = issues_model.GetUserIssueStats(statsOpts)