From 9afcb0e0461aa48a4fbda7740d4c5424911e35ef Mon Sep 17 00:00:00 2001 From: CaiCandong <1290147055@qq.com> Date: Thu, 17 Aug 2023 10:43:19 +0800 Subject: [PATCH] fix --- routers/web/repo/issue.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index 488c97b0eb6ea..565687defb1f7 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -177,7 +177,8 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption uti ctx.Data["AllLabels"] = true } else if selectLabels == "0" { ctx.Data["NoLabel"] = true - } else if len(selectLabels) > 0 { + } + if len(selectLabels) > 0 { labelIDs, err = base.StringsToInt64s(strings.Split(selectLabels, ",")) if err != nil { ctx.ServerError("StringsToInt64s", err)