Skip to content

Commit ef94ae9

Browse files
committed
fix typo
1 parent 259f134 commit ef94ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/issue_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ func prepareIssueFilterAndList(ctx *context.Context, milestoneID, projectID int6
630630

631631
// prepare pager
632632
total := int(issueStats.OpenCount + issueStats.ClosedCount)
633-
if isShowClosed.Value() {
633+
if isShowClosed.Has() {
634634
total = util.Iif(isShowClosed.Value(), int(issueStats.ClosedCount), int(issueStats.OpenCount))
635635
}
636636
page := max(ctx.FormInt("page"), 1)

0 commit comments

Comments
 (0)