summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-27 18:21:37 -0400
committerUnknwon <u@gogs.io>2016-03-27 18:21:37 -0400
commit762ab056a2ee976037d9fe929c37ab5bdb940e7a (patch)
treefa2b7aa322fd0b66f0a22b456d0840c17495c0bb /models
parent78481f0e4293647d0a208253f146abbd45461d9a (diff)
downloadgitea-762ab056a2ee976037d9fe929c37ab5bdb940e7a.tar.gz
gitea-762ab056a2ee976037d9fe929c37ab5bdb940e7a.zip
Fix XORM IN condition table name parse
Diffstat (limited to 'models')
-rw-r--r--models/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go
index 8b37a24f11..335172aeb9 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -512,7 +512,7 @@ func Issues(opts *IssuesOptions) ([]*Issue, error) {
if len(opts.RepoIDs) == 0 {
return make([]*Issue, 0), nil
}
- sess.In("issue.repo_id", base.Int64sToStrings(opts.RepoIDs)).And("issue.is_closed=?", opts.IsClosed)
+ sess.In("repo_id", base.Int64sToStrings(opts.RepoIDs)).And("issue.is_closed=?", opts.IsClosed)
} else {
sess.Where("issue.is_closed=?", opts.IsClosed)
}