diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 12726cd22..fd2877e70 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