diff --git a/routers/user/home.go b/routers/user/home.go index 0c84b2498..302b6d4ab 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 d0b6511b8..fe27a4439 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -71,7 +71,7 @@ especially on mobile views. */}} {{range .}} - {{.Name}} + {{.Name}} {{end}} {{end}}