From d023e81a8f6016db0bdaf8a935f273cc6e0d9a49 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 4 Sep 2015 05:54:22 -0400 Subject: #1577 explore paginator problem --- routers/home.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/home.go') diff --git a/routers/home.go b/routers/home.go index 73324d4587..c83cab3772 100644 --- a/routers/home.go +++ b/routers/home.go @@ -57,7 +57,7 @@ func Explore(ctx *middleware.Context) { page = 1 } - ctx.Data["Page"] = paginater.New(int(models.CountRepositories()), setting.ExplorePagingNum, page, 5) + ctx.Data["Page"] = paginater.New(int(models.CountPublicRepositories()), setting.ExplorePagingNum, page, 5) repos, err := models.GetRecentUpdatedRepositories(page) if err != nil { -- cgit v1.2.3