From 5448d29b2e987c6f37e03c7c5dda01654c50a685 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 9 Aug 2016 23:19:52 -0700 Subject: [PATCH] #3417 wrong dashboard issue count for create by you --- README.md | 2 +- gogs.go | 2 +- models/issue.go | 2 +- templates/.VERSION | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dd4255da2..8faeb437d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra ![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true) -##### Current tip version: 0.9.70 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions) +##### Current tip version: 0.9.71 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions) | Web | UI | Preview | |:-------------:|:-------:|:-------:| diff --git a/gogs.go b/gogs.go index 092e663e4..d204f1418 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.70.0808" +const APP_VER = "0.9.71.0808" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/models/issue.go b/models/issue.go index b142a5de7..3d7e862c3 100644 --- a/models/issue.go +++ b/models/issue.go @@ -911,7 +911,7 @@ func GetUserIssueStats(repoID, uid int64, repoIDs []int64, filterMode int, isPul Count(&Issue{}) stats.CreateCount, _ = countSession(false, isPull, repoID, repoIDs). - And("assignee_id = ?", uid). + And("poster_id = ?", uid). Count(&Issue{}) openCountSession := countSession(false, isPull, repoID, repoIDs) diff --git a/templates/.VERSION b/templates/.VERSION index 211c83f95..0387f88fd 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.70.0808 \ No newline at end of file +0.9.71.0808 \ No newline at end of file