diff options
author | Giteabot <teabot@gitea.io> | 2023-06-25 22:06:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 02:06:58 +0000 |
commit | 9bbb4d8d6d812d395d16d9a60ae55338608df73d (patch) | |
tree | a3acf52cfad864cc6d9b711ede88bf05f11c2fa2 /routers/web/repo/issue.go | |
parent | 5703a0d3e310667ff77f429991c3c7ae93eb48f3 (diff) | |
download | gitea-9bbb4d8d6d812d395d16d9a60ae55338608df73d.tar.gz gitea-9bbb4d8d6d812d395d16d9a60ae55338608df73d.zip |
Improve loadprojects for issue list (#25468) (#25493)
Diffstat (limited to 'routers/web/repo/issue.go')
-rw-r--r-- | routers/web/repo/issue.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index 5ab8db2e05..0756fcd533 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -1971,7 +1971,7 @@ func checkIssueRights(ctx *context.Context, issue *issues_model.Issue) { } } -func getActionIssues(ctx *context.Context) []*issues_model.Issue { +func getActionIssues(ctx *context.Context) issues_model.IssueList { commaSeparatedIssueIDs := ctx.FormString("issue_ids") if len(commaSeparatedIssueIDs) == 0 { return nil @@ -2722,7 +2722,7 @@ func UpdateIssueStatus(ctx *context.Context) { log.Warn("Unrecognized action: %s", action) } - if _, err := issues_model.IssueList(issues).LoadRepositories(ctx); err != nil { + if _, err := issues.LoadRepositories(ctx); err != nil { ctx.ServerError("LoadRepositories", err) return } |