diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 37a526670..fb7dac297 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -374,6 +374,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