aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
authorKarl Heinz Marbaise <github@soebes.de>2020-11-19 22:39:55 +0100
committerGitHub <noreply@github.com>2020-11-19 15:39:55 -0600
commit702e82d162d2c3aaee133201cfd4edb8e67017f9 (patch)
treede145636cc8eb880a1c43714f668c63003556681 /routers/repo/issue.go
parent64bd5f4c66130984c082c740e8a8fdcf08def2ac (diff)
downloadgitea-702e82d162d2c3aaee133201cfd4edb8e67017f9.tar.gz
gitea-702e82d162d2c3aaee133201cfd4edb8e67017f9.zip
Fix issue/pull request list assignee filter (#13647)
* Fixes #13641 - Filtering in Pull Request kept all the time. - The URL contains all the time the assignee in cases where once a type has been selected. Signed-off-by: Karl Heinz Marbaise <kama@soebes.de> * Followup Fixes #13641 - Filtering in Pull Request kept all the time. - The URL contains all the time the assignee in cases where once a type has been selected. - The same behaviour was observed issues viewed via milestones. Signed-off-by: Karl Heinz Marbaise <kama@soebes.de>
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 009af784e7..c55a0ce693 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -131,6 +131,8 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption uti
posterID = ctx.User.ID
case "mentioned":
mentionedID = ctx.User.ID
+ case "assigned":
+ assigneeID = ctx.User.ID
}
}