fix #664
This commit is contained in:
parent
515641d033
commit
a43164877c
3 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ func Commits(ctx *middleware.Context) {
|
|||
lastPage = 0
|
||||
}
|
||||
nextPage := page + 1
|
||||
if nextPage*50 > commitsCount {
|
||||
if page*50 > commitsCount {
|
||||
nextPage = 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue