Fix error: non-name opts.Labels on left side of :=
This commit is contained in:
parent
36f687cc06
commit
7243ed9b4e
|
@ -249,8 +249,8 @@ func Issues(ctx *context.Context) {
|
||||||
|
|
||||||
opts.Page = page
|
opts.Page = page
|
||||||
opts.PageSize = setting.UI.IssuePagingNum
|
opts.PageSize = setting.UI.IssuePagingNum
|
||||||
opts.Labels := ctx.Query("labels")
|
opts.Labels = ctx.Query("labels")
|
||||||
|
|
||||||
issues, err := models.Issues(opts)
|
issues, err := models.Issues(opts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.ServerError("Issues", err)
|
ctx.ServerError("Issues", err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user