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 fc63953 commit 91b55d1Copy full SHA for 91b55d1
models/issues/issue.go
@@ -311,7 +311,7 @@ func (issue *Issue) LoadAttributes(ctx context.Context) (err error) {
311
return err
312
}
313
314
- if err = issue.LoadProject(ctx); err != nil {
+ if err = issue.LoadProjects(ctx); err != nil {
315
316
317
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 issue.Projects == nil {
18
err = db.GetEngine(ctx).Table("project").
19
Join("INNER", "project_issue", "project.id=project_issue.project_id").
0 commit comments