]> source.dussan.org Git - gitea.git/commitdiff
fix to 3819 - Backport (#5219)
authorRodrigo Villablanca Vásquez <villa061004@gmail.com>
Mon, 29 Oct 2018 19:56:21 +0000 (16:56 -0300)
committertechknowlogick <hello@techknowlogick.com>
Mon, 29 Oct 2018 19:56:21 +0000 (15:56 -0400)
routers/user/home.go
templates/user/dashboard/issues.tmpl

index 0c84b2498e0136b32cbbe6108f4fea366b25a865..302b6d4ab7761702c32d264b8d750b145200f54a 100644 (file)
@@ -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)
index d0b6511b870a2c79cbd497cff3c1eb4f2193ee95..fe27a4439cfd9e10d4cd841c60b3d67a63749b33 100644 (file)
@@ -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}}