aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web
diff options
context:
space:
mode:
authorTyrone Yeh <siryeh@gmail.com>2022-07-25 00:53:40 +0800
committerGitHub <noreply@github.com>2022-07-24 19:53:40 +0300
commit16edee85bd36c12967a18072a03539577363eeaf (patch)
treecc2c36902a143632a08f1bdb744f936d1c3c013b /routers/web
parent9cf0352f149b70091515d33614dca28db3113a98 (diff)
downloadgitea-16edee85bd36c12967a18072a03539577363eeaf.tar.gz
gitea-16edee85bd36c12967a18072a03539577363eeaf.zip
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>
Diffstat (limited to 'routers/web')
-rw-r--r--routers/web/user/home.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/user/home.go b/routers/web/user/home.go
index 698117e957..6482699804 100644
--- a/routers/web/user/home.go
+++ b/routers/web/user/home.go
@@ -591,6 +591,7 @@ func buildIssueOverview(ctx *context.Context, unitType unit.Type) {
LabelIDs: opts.LabelIDs,
Org: org,
Team: team,
+ RepoCond: opts.RepoCond,
}
issueStats, err = issues_model.GetUserIssueStats(statsOpts)