aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2016-11-12 16:29:18 +0800
committerThibault Meyer <0xbaadf00d@users.noreply.github.com>2016-11-12 09:29:18 +0100
commit30a37311f85b3058c8c5b94427208281568eba91 (patch)
treee70d1f01f0e97fb9cb5a4f79b96a65185f1ae7f7 /models/issue.go
parent555d8b16cb8670dd0a4e9094d26091eba6a6df36 (diff)
downloadgitea-30a37311f85b3058c8c5b94427208281568eba91.tar.gz
gitea-30a37311f85b3058c8c5b94427208281568eba91.zip
use in instead string join (#155)
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 16766fc6c3..40b96da658 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -829,7 +829,7 @@ func Issues(opts *IssuesOptions) ([]*Issue, error) {
return make([]*Issue, 0), nil
}
sess.
- In("issue.repo_id", base.Int64sToStrings(opts.RepoIDs)).
+ In("issue.repo_id", opts.RepoIDs).
And("issue.is_closed=?", opts.IsClosed)
} else {
sess.Where("issue.is_closed=?", opts.IsClosed)