mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 18:13:10 +02:00
#1577 explore paginator problem
This commit is contained in:
1 parent
36a69e8aa5
commit
d023e81a8f
12 files changed
+80
-65
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user