Skip to content

Commit d220a3d

Browse files
rvillablancatechknowlogick
authored andcommitted
fix to 3819 - Backport (#5219)
1 parent 7022957 commit d220a3d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

routers/user/home.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ func Issues(ctx *context.Context) {
253253

254254
opts.Page = page
255255
opts.PageSize = setting.UI.IssuePagingNum
256+
opts.Labels = ctx.Query("labels")
257+
256258
issues, err := models.Issues(opts)
257259
if err != nil {
258260
ctx.ServerError("Issues", err)

templates/user/dashboard/issues.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
especially on mobile views. */}}
7272
<span style="line-height: 2.5">
7373
{{range .}}
74-
<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>
74+
<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>
7575
{{end}}
7676
</span>
7777
{{end}}

0 commit comments

Comments
 (0)