#3417 wrong dashboard issue count for create by you

This commit is contained in:
Unknwon 2016-08-09 23:19:52 -07:00
parent bb51eb5188
commit 5448d29b2e
4 changed files with 4 additions and 4 deletions

View file

@ -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)