diff options
author | Unknwon <u@gogs.io> | 2016-03-27 18:21:37 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-27 18:21:37 -0400 |
commit | 762ab056a2ee976037d9fe929c37ab5bdb940e7a (patch) | |
tree | fa2b7aa322fd0b66f0a22b456d0840c17495c0bb /models | |
parent | 78481f0e4293647d0a208253f146abbd45461d9a (diff) | |
download | gitea-762ab056a2ee976037d9fe929c37ab5bdb940e7a.tar.gz gitea-762ab056a2ee976037d9fe929c37ab5bdb940e7a.zip |
Fix XORM IN condition table name parse
Diffstat (limited to 'models')
-rw-r--r-- | models/issue.go | 2 |
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) } |