diff options
Diffstat (limited to 'routers/user/home.go')
-rw-r--r-- | routers/user/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index eb6a6f099b..aaf660d48a 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -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{ |