diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-02 12:43:31 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-02 12:43:31 -0400 |
commit | db66b8da7227f7fd3ff9a8d7ccece0c3e31ea3d0 (patch) | |
tree | a48dc02ac1cb79ab18cb2837dccae10a503358f1 /routers/repo/issue.go | |
parent | 97b133bbee77740bded5b4f2e7ad9896d6804cf7 (diff) | |
download | gitea-db66b8da7227f7fd3ff9a8d7ccece0c3e31ea3d0.tar.gz gitea-db66b8da7227f7fd3ff9a8d7ccece0c3e31ea3d0.zip |
Add release tmpl
Diffstat (limited to 'routers/repo/issue.go')
-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 41b2c7e9b1..be92542641 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -74,7 +74,7 @@ func Issues(ctx *middleware.Context) { ctx.Data["Issues"] = showIssues ctx.Data["IssueCount"] = ctx.Repo.Repository.NumIssues - ctx.Data["OpenCount"] = ctx.Repo.Repository.NumIssues - ctx.Repo.Repository.NumClosedIssues + ctx.Data["OpenCount"] = ctx.Repo.Repository.NumOpenIssues ctx.Data["ClosedCount"] = ctx.Repo.Repository.NumClosedIssues ctx.Data["IssueCreatedCount"] = createdByCount ctx.Data["IsShowClosed"] = ctx.Query("state") == "closed" |