Skip to content

Commit

Permalink
fix to 3819 - Backport (#5219)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvillablanca authored and techknowlogick committed Oct 29, 2018
1 parent 7022957 commit d220a3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions routers/user/home.go
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion templates/user/dashboard/issues.tmpl
Expand Up @@ -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}}
Expand Down

0 comments on commit d220a3d

Please sign in to comment.