summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyrone Yeh <tyrone_yeh@draytek.com>2022-07-27 14:09:25 +0800
committerGitHub <noreply@github.com>2022-07-27 07:09:25 +0100
commitbed13bfa9e427e866e76ad921167403ec3c586d0 (patch)
tree738db3d588b592f51baa6f2d50f591f2439ab996
parent435038b2c6748c1ea2741fbc0999d9e01e99f0a0 (diff)
downloadgitea-bed13bfa9e427e866e76ad921167403ec3c586d0.tar.gz
gitea-bed13bfa9e427e866e76ad921167403ec3c586d0.zip
Add repository condition for issue count (#20496)
-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)