diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 37a5266708b..fb7dac297d7 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