diff options
Diffstat (limited to 'routers/home.go')
-rw-r--r-- | routers/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |