summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-05 20:52:17 +0800
committerUnknwon <u@gogs.io>2015-08-05 20:52:17 +0800
commit34795770c337c3bfcc56600a41a9c4bec31d0a8e (patch)
treed696363493307eb70d71813db8e82fc8e2c91830 /routers/repo
parent81d01aa308142aa368784ecd551601158422650d (diff)
downloadgitea-34795770c337c3bfcc56600a41a9c4bec31d0a8e.tar.gz
gitea-34795770c337c3bfcc56600a41a9c4bec31d0a8e.zip
fix issue stats with milestone filter
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 84046ef784..42b0e1856b 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -95,7 +95,7 @@ func Issues(ctx *middleware.Context) {
selectLabels := ctx.Query("labels")
milestoneID := ctx.QueryInt64("milestone")
isShowClosed := ctx.Query("state") == "closed"
- issueStats := models.GetIssueStats(repo.Id, uid, com.StrTo(selectLabels).MustInt64(), isShowClosed, filterMode)
+ issueStats := models.GetIssueStats(repo.Id, uid, com.StrTo(selectLabels).MustInt64(), milestoneID, isShowClosed, filterMode)
page := ctx.QueryInt("page")
if page <= 1 {