summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-09 23:19:52 -0700
committerUnknwon <u@gogs.io>2016-08-09 23:19:52 -0700
commit5448d29b2e987c6f37e03c7c5dda01654c50a685 (patch)
tree9a84fa0e57174dc5470154e1f4a8727d2abc0048 /models/issue.go
parentbb51eb51881aa9dd8c8acd29b1760f8e7f7c0682 (diff)
downloadgitea-5448d29b2e987c6f37e03c7c5dda01654c50a685.tar.gz
gitea-5448d29b2e987c6f37e03c7c5dda01654c50a685.zip
#3417 wrong dashboard issue count for create by you
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go2
1 files changed, 1 insertions, 1 deletions
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)