mirror of
https://gitee.com/gitea/gitea
synced 2025-11-27 03:40:27 +08:00
Use struct for UI settings
This commit is contained in:
@@ -253,7 +253,7 @@ func Issues(ctx *context.Context) {
|
||||
} else {
|
||||
total = int(issueStats.ClosedCount)
|
||||
}
|
||||
ctx.Data["Page"] = paginater.New(total, setting.IssuePagingNum, page, 5)
|
||||
ctx.Data["Page"] = paginater.New(total, setting.UI.IssuePagingNum, page, 5)
|
||||
|
||||
// Get issues.
|
||||
issues, err := models.Issues(&models.IssuesOptions{
|
||||
|
||||
Reference in New Issue
Block a user