diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-12-25 18:25:16 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-26 01:25:16 +0200 |
commit | 4c9341f689e840df30db3e227498a30fdb5b88ef (patch) | |
tree | 6a619eee5cee0bc9e988019e0abd521acc57c184 /routers/api/v1/repo | |
parent | fabf3f2fc29e143dabefd504cda78d3f47807d2c (diff) | |
download | gitea-4c9341f689e840df30db3e227498a30fdb5b88ef.tar.gz gitea-4c9341f689e840df30db3e227498a30fdb5b88ef.zip |
Fix bugs in issue dashboard stats (#3073)
Diffstat (limited to 'routers/api/v1/repo')
-rw-r--r-- | routers/api/v1/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go index 08815ee074..c2d4819f05 100644 --- a/routers/api/v1/repo/issue.go +++ b/routers/api/v1/repo/issue.go @@ -56,7 +56,7 @@ func ListIssues(ctx *context.APIContext) { } issues, err := models.Issues(&models.IssuesOptions{ - RepoID: ctx.Repo.Repository.ID, + RepoIDs: []int64{ctx.Repo.Repository.ID}, Page: ctx.QueryInt("page"), PageSize: setting.UI.IssuePagingNum, IsClosed: isClosed, |