We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a44d4a commit 6476a7bCopy full SHA for 6476a7b
routers/web/admin/ips.go
@@ -96,7 +96,9 @@ func IPs(ctx *context.Context) {
96
ctx.Data["Keyword"] = keyword
97
98
// Setup pagination
99
- ctx.Data["Page"] = context.NewPagination(int(count), setting.UI.Admin.UserPagingNum, page, 5)
+ pager := context.NewPagination(int(count), setting.UI.Admin.UserPagingNum, page, 5)
100
+ pager.AddParamFromRequest(ctx.Req)
101
+ ctx.Data["Page"] = pager
102
103
ctx.HTML(http.StatusOK, tplIPs)
104
}
0 commit comments