0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-18 21:40:08 +01:00
forgejo/models
Yarden Shoham 0a3c4d4a59
Fix team members API endpoint pagination ()
Now it's 1-based instead of 0-based

- Fixes 

### 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
..
actions Don't filter action runs based on state () 2023-05-14 16:04:24 +00:00
activities Fix commits pushed with deploy keys not shown in dashboard () 2023-05-10 04:14:58 +00:00
admin Make repo migration cancelable and fix various bugs () 2023-05-11 08:25:46 +00:00
asymkey Merge setting.InitXXX into one function with options () 2023-05-04 11:55:35 +08:00
auth
avatars
db
dbfs Merge setting.InitXXX into one function with options () 2023-05-04 11:55:35 +08:00
fixtures fix: release page for empty or non-existing target () 2023-05-10 11:43:55 +08:00
git Add status indicator on main home screen for each repo () 2023-05-13 21:59:01 +00:00
issues Modify luminance calculation and extract related functions into single files () 2023-05-10 11:19:03 +00:00
migrations Rewrite queue () 2023-05-08 19:49:59 +08:00
organization Fix team members API endpoint pagination () 2023-05-17 08:12:37 +08:00
packages Add Go package registry () 2023-05-14 23:38:40 +08:00
perm Rename repo.GetOwner to repo.LoadOwner () 2023-02-18 20:11:03 +08:00
project
pull
repo Refactor Pull Mirror and fix out-of-sync bugs () 2023-05-15 19:02:10 +00:00
secret Respect original content when creating secrets () 2023-05-16 14:49:40 +08:00
shared/types Display owner of a runner as a tooltip instead of static text () 2023-05-12 08:43:27 +00:00
system
unit Require at least one unit to be enabled () 2023-05-06 17:39:06 +08:00
unittest Rewrite queue () 2023-05-08 19:49:59 +08:00
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go Merge setting.InitXXX into one function with options () 2023-05-04 11:55:35 +08:00
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Split "modules/context.go" to separate files () 2023-05-08 17:36:54 +08:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go