summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorjaqra <48099350+jaqra@users.noreply.github.com>2019-09-18 10:24:44 +0300
committerLauris BH <lauris@nix.lv>2019-09-18 10:24:44 +0300
commit28362195a0ecbf1f68167d5d9dee13c691079afe (patch)
tree39a7c5fe4745642d2bc89685f7953c0e8f3f9a73 /routers/user
parent04ca7f004710de2b408f558f6f148894aa61ba57 (diff)
downloadgitea-28362195a0ecbf1f68167d5d9dee13c691079afe.tar.gz
gitea-28362195a0ecbf1f68167d5d9dee13c691079afe.zip
Add 'Mentioning you' group to /issues page (#8201)
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/home.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 0c7dfec7f5..40b3bc3fc1 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -181,6 +181,8 @@ func Issues(ctx *context.Context) {
filterMode = models.FilterModeAssign
case "created_by":
filterMode = models.FilterModeCreate
+ case "mentioned":
+ filterMode = models.FilterModeMention
case "all": // filterMode already set to All
default:
viewType = "all"