Skip to content

Commit c2ba0c1

Browse files
authored
Changes suggested
1 parent be90bc4 commit c2ba0c1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

routers/user/home.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,9 @@ func Issues(ctx *context.Context) {
249249

250250
opts.Page = page
251251
opts.PageSize = setting.UI.IssuePagingNum
252-
253-
selectLabels := ctx.Query("labels")
254-
opts.Labels = selectLabels
255-
252+
253+
opts.Labels := ctx.Query("labels")
254+
256255
issues, err := models.Issues(opts)
257256
if err != nil {
258257
ctx.ServerError("Issues", err)

0 commit comments

Comments
 (0)