diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-12-03 00:01:29 -0600 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-12-03 14:01:29 +0800 |
commit | e459f99ef2016ec698b5392f28919d3d7be1bbdd (patch) | |
tree | bb7a348fe4bae9535cc862d81d8d4c7bc1f10ecc /routers/user/home.go | |
parent | 23ef9ff516b5d5168e6c9e8f6aa6d24f93602aca (diff) | |
download | gitea-e459f99ef2016ec698b5392f28919d3d7be1bbdd.tar.gz gitea-e459f99ef2016ec698b5392f28919d3d7be1bbdd.zip |
Fix active issue (#9238)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers/user/home.go')
-rw-r--r-- | routers/user/home.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index 216f91e4db..e0d90dc6e2 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -178,7 +178,7 @@ func Issues(ctx *context.Context) { ) if ctxUser.IsOrganization() { - viewType = "all" + viewType = "your_repositories" } else { viewType = ctx.Query("type") switch viewType { @@ -188,9 +188,9 @@ func Issues(ctx *context.Context) { filterMode = models.FilterModeCreate case "mentioned": filterMode = models.FilterModeMention - case "all": // filterMode already set to All + case "your_repositories": // filterMode already set to All default: - viewType = "all" + viewType = "your_repositories" } } |