Fix repository issues pagination bug when there are more than one label filter (#9512)

This commit is contained in:
Lunny Xiao authored and zeripath committed 2019-12-28 14:43:46 +00:00
1 parent 1ea447aedf
commit ed67bbe444
4 files changed
+13 -4

No files matched your search

+2 -1
View File
@@ -264,7 +264,8 @@ func issues(ctx *context.Context, milestoneID int64, isPullOption util.OptionalB
}
ctx.Data["IssueStats"] = issueStats
ctx.Data["SelectLabels"] = com.StrTo(selectLabels).MustInt64()
ctx.Data["SelLabelIDs"] = labelIDs
ctx.Data["SelectLabels"] = selectLabels
ctx.Data["ViewType"] = viewType
ctx.Data["SortType"] = sortType
ctx.Data["MilestoneID"] = milestoneID