Fix error: non-name opts.Labels on left side of :=

This commit is contained in:
Rodrigo Villablanca 2018-05-29 14:34:44 -04:00
parent 36f687cc06
commit 7243ed9b4e

View File

@ -249,8 +249,8 @@ func Issues(ctx *context.Context) {
opts.Page = page
opts.PageSize = setting.UI.IssuePagingNum
opts.Labels := ctx.Query("labels")
opts.Labels = ctx.Query("labels")
issues, err := models.Issues(opts)
if err != nil {
ctx.ServerError("Issues", err)