1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00
forgejo/models/organization
Yarden Shoham 0a3c4d4a59
Fix team members API endpoint pagination (#24754)
Now it's 1-based instead of 0-based

- Fixes #24747

### Before

![image](https://github.com/go-gitea/gitea/assets/20454870/9b58ecfa-666c-4b78-bd0f-93233efeecbd)

### After

![image](https://github.com/go-gitea/gitea/assets/20454870/103b767a-e02e-4473-9f9f-5a676a61c174)

## ⚠️ BREAKING ⚠️
Previous API consumers may have relied on the 0-based pagination of this
endpoint. The page numbering now starts at 1, as documented.

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2023-05-17 08:12:37 +08:00
..
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mini_org.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org.go Add owner team permission check test (#24096) 2023-04-19 19:19:13 -04:00
org_repo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org_test.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
org_user.go Allow repo admins too to delete the repo (#23940) 2023-04-07 11:21:02 -04:00
org_user_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
team.go Rename GetUnits to LoadUnits (#22970) 2023-02-19 16:31:39 +08:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_invite_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_list.go Rename GetUnits to LoadUnits (#22970) 2023-02-19 16:31:39 +08:00
team_repo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
team_unit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_user.go Fix team members API endpoint pagination (#24754) 2023-05-17 08:12:37 +08:00