From 389b50b050fecd35bc18bd74745ae5d5c9f4d804 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Thu, 19 Nov 2020 19:29:13 +0100 Subject: [PATCH 1/2] 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 --- routers/repo/issue.go | 2 ++ templates/repo/issue/list.tmpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 009af784e775a..c55a0ce69336e 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 } } diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index c8310783d73ba..78223ce56a186 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -93,7 +93,7 @@ From 95e7b51a4cdbb9708c5d612e4c10e05c0752b6a1 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Thu, 19 Nov 2020 20:13:52 +0100 Subject: [PATCH 2/2] 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 --- templates/repo/issue/milestone_issues.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index b5000a6655e62..ad75411d8b5bf 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -91,7 +91,7 @@