We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d132f84 commit 967a233Copy full SHA for 967a233
models/issues/issue.go
@@ -327,7 +327,7 @@ func (issue *Issue) LoadAttributes(ctx context.Context) (err error) {
327
return err
328
}
329
330
- if err = issue.LoadProject(ctx); err != nil {
+ if err = issue.LoadProjects(ctx); err != nil {
331
332
333
models/issues/issue_project.go
@@ -13,7 +13,7 @@ import (
13
)
14
15
// LoadProject load the project the issue was assigned to
16
-func (issue *Issue) LoadProject(ctx context.Context) (err error) {
+func (issue *Issue) LoadProjects(ctx context.Context) (err error) {
17
if len(issue.Projects) == 0 {
18
err = db.GetEngine(ctx).Table("project").
19
Join("INNER", "project_issue", "project.id=project_issue.project_id").
0 commit comments