mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-02 06:23:05 +08:00
use in instead string join (#155)
This commit is contained in:

committed by
Thibault Meyer

parent
555d8b16cb
commit
30a37311f8
@ -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)
|
||||
|
Reference in New Issue
Block a user