diff options
Diffstat (limited to 'routers/web/repo/branch.go')
-rw-r--r-- | routers/web/repo/branch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/branch.go b/routers/web/repo/branch.go index 84970a96a1..d14ba6cbe9 100644 --- a/routers/web/repo/branch.go +++ b/routers/web/repo/branch.go @@ -80,7 +80,7 @@ func Branches(ctx *context.Context) { } ctx.Data["Branches"] = branches ctx.Data["DefaultBranchBranch"] = defaultBranchBranch - pager := context.NewPagination(int(branchesCount), setting.Git.BranchesRangeSize, page, 5) + pager := context.NewPagination(branchesCount, setting.Git.BranchesRangeSize, page, 5) pager.SetDefaultParams(ctx) ctx.Data["Page"] = pager |