diff options
-rw-r--r-- | routers/user/home.go | 2 | ||||
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index 0c84b2498e..302b6d4ab7 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -253,6 +253,8 @@ func Issues(ctx *context.Context) { opts.Page = page opts.PageSize = setting.UI.IssuePagingNum + opts.Labels = ctx.Query("labels") + issues, err := models.Issues(opts) if err != nil { ctx.ServerError("Issues", err) diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index d0b6511b87..fe27a4439c 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -71,7 +71,7 @@ especially on mobile views. */}} <span style="line-height: 2.5"> {{range .}} - <a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name}}</a> + <a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}&repo={{$.RepoID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name}}</a> {{end}} </span> {{end}} |