Fix wrong paging on org members (#9990)

This commit is contained in:
2020-01-26 15:32:53 +08:00
committed by GitHub
parent 59510d6227
commit 8d51f28ba0
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import (
// ListOptions options to paginate results
type ListOptions struct {
PageSize int
Page int
Page int // start from 1
}
func (opts ListOptions) getPaginatedSession() *xorm.Session {