summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-17 09:25:30 +0800
committerUnknwon <u@gogs.io>2016-07-17 09:25:30 +0800
commit5aa2bf86f4cb9b3c6c472a3f8f1db10331f27c65 (patch)
treea645f612482c700b5c6f045b6ce488123a542487 /routers/repo
parentb0eb47cb1c6c1399b3fcd880b17c9d5e70af329e (diff)
downloadgitea-5aa2bf86f4cb9b3c6c472a3f8f1db10331f27c65.tar.gz
gitea-5aa2bf86f4cb9b3c6c472a3f8f1db10331f27c65.zip
Update locales and .gopmfile
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/issue.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index accf51d1ec..52524297da 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -223,6 +223,10 @@ func Issues(ctx *context.Context) {
return
}
+ if viewType == "assigned" {
+ assigneeID = 0 // Reset ID to prevent unexpected selection of assignee.
+ }
+
ctx.Data["IssueStats"] = issueStats
ctx.Data["SelectLabels"] = com.StrTo(selectLabels).MustInt64()
ctx.Data["ViewType"] = viewType