diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-01-26 15:32:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-26 15:32:53 +0800 |
commit | 8d51f28ba04980734a04fef645a8065472e6ca63 (patch) | |
tree | 80a3c6887082354aa4b1e2337191cabf71c142de /models | |
parent | 59510d6227962a455c8276a5f3330215fb67f747 (diff) | |
download | gitea-8d51f28ba04980734a04fef645a8065472e6ca63.tar.gz gitea-8d51f28ba04980734a04fef645a8065472e6ca63.zip |
Fix wrong paging on org members (#9990)
Diffstat (limited to 'models')
-rw-r--r-- | models/list_options.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/list_options.go b/models/list_options.go index 91c4298c85..c49b83d1ff 100644 --- a/models/list_options.go +++ b/models/list_options.go @@ -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 { |