mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 00:45:22 +02:00
Fix XORM IN condition table name parse
This commit is contained in:
parent
78481f0e42
commit
762ab056a2
5 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue