diff options
author | Unknwon <u@gogs.io> | 2015-08-05 20:52:17 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-05 20:52:17 +0800 |
commit | 34795770c337c3bfcc56600a41a9c4bec31d0a8e (patch) | |
tree | d696363493307eb70d71813db8e82fc8e2c91830 /routers/repo | |
parent | 81d01aa308142aa368784ecd551601158422650d (diff) | |
download | gitea-34795770c337c3bfcc56600a41a9c4bec31d0a8e.tar.gz gitea-34795770c337c3bfcc56600a41a9c4bec31d0a8e.zip |
fix issue stats with milestone filter
Diffstat (limited to 'routers/repo')
-rw-r--r-- | routers/repo/issue.go | 2 |
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 { |