Fix bugs in issue dashboard stats (#3073)

This commit is contained in:
Ethan Koenig authored and Lauris BH committed 2017-12-26 01:25:16 +02:00
1 parent fabf3f2fc2
commit 4c9341f689
7 files changed
+224 -55

No files matched your search

+1 -1
View File
@@ -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,