diff options
Diffstat (limited to 'models/issue.go')
-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 3fd97fbe7d..9d0f58186e 100644 --- a/models/issue.go +++ b/models/issue.go @@ -567,7 +567,7 @@ func Issues(opts *IssuesOptions) ([]*Issue, error) { if len(opts.Labels) > 0 && opts.Labels != "0" { labelIDs := base.StringsToInt64s(strings.Split(opts.Labels, ",")) if len(labelIDs) > 0 { - sess.Join("INNER", "issue_label", "issue.id = issue_label.issue_id").In("issue.label_id", labelIDs) + sess.Join("INNER", "issue_label", "issue.id = issue_label.issue_id").In("issue_label.label_id", labelIDs) } } |