summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/home.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 571849df30..db2fe84f91 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -15,6 +15,7 @@ import (
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/setting"
+ "code.gitea.io/gitea/modules/util"
)
const (
@@ -277,8 +278,8 @@ func Issues(ctx *context.Context) {
PosterID: posterID,
RepoIDs: repoIDs,
Page: page,
- IsClosed: isShowClosed,
- IsPull: isPullList,
+ IsClosed: util.OptionalBoolOf(isShowClosed),
+ IsPull: util.OptionalBoolOf(isPullList),
SortType: sortType,
})
if err != nil {