From 5448d29b2e987c6f37e03c7c5dda01654c50a685 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 9 Aug 2016 23:19:52 -0700 Subject: #3417 wrong dashboard issue count for create by you --- models/issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/issue.go') diff --git a/models/issue.go b/models/issue.go index b142a5de7c..3d7e862c3b 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) -- cgit v1.2.3