diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 12726cd22c9a..fd2877e7069d 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -372,6 +372,9 @@ func Issues(ctx *context.Context) { } issues(ctx, ctx.QueryInt64("milestone"), ctx.QueryInt64("project"), util.OptionalBoolOf(isPullList)) + if ctx.Written() { + return + } var err error // Get milestones