summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/web/repo/issue.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index 66a4986139..cb0aaa3db5 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -206,10 +206,10 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption uti
if forceEmpty {
issueStats = &issues_model.IssueStats{}
} else {
- issueStats, err = issues_model.GetIssueStats(&issues_model.IssueStatsOptions{
+ issueStats, err = issues_model.GetIssueStats(&issues_model.IssuesOptions{
RepoID: repo.ID,
- Labels: selectLabels,
- MilestoneID: milestoneID,
+ LabelIDs: labelIDs,
+ MilestoneIDs: []int64{milestoneID},
ProjectID: projectID,
AssigneeID: assigneeID,
MentionedID: mentionedID,