瀏覽代碼

bug fixed for issue count (#881)

tags/v1.1.0
Lunny Xiao 7 年之前
父節點
當前提交
b6dd6210ea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      models/issue.go

+ 1
- 1
models/issue.go 查看文件

@@ -1312,7 +1312,7 @@ func GetUserIssueStats(repoID, uid int64, repoIDs []int64, filterMode int, isPul
func GetRepoIssueStats(repoID, uid int64, filterMode int, isPull bool) (numOpen int64, numClosed int64) {
countSession := func(isClosed, isPull bool, repoID int64) *xorm.Session {
sess := x.
Where("issue.repo_id = ?", isClosed).
Where("is_closed = ?", isClosed).
And("is_pull = ?", isPull).
And("repo_id = ?", repoID)


Loading…
取消
儲存