mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 03:08:05 +02:00
fix #664
This commit is contained in:
1 parent
515641d033
commit
a43164877c
3 files changed
+3
-3
No files matched your search
@@ -62,7 +62,7 @@ func Commits(ctx *middleware.Context) {
|
||||
lastPage = 0
|
||||
}
|
||||
nextPage := page + 1
|
||||
if nextPage*50 > commitsCount {
|
||||
if page*50 > commitsCount {
|
||||
nextPage = 0
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user