From f59430a42a8dbc32231b381921c2df3b33c27cf6 Mon Sep 17 00:00:00 2001 From: Alain Thiffault Date: Fri, 5 Dec 2025 06:14:01 +0000 Subject: [PATCH] fix: pass pagination options to ListRepoPullRequests (#851) Co-authored-by: Lunny Xiao Reviewed-on: https://gitea.com/gitea/tea/pulls/851 Reviewed-by: Lunny Xiao Co-authored-by: Alain Thiffault Co-committed-by: Alain Thiffault --- cmd/pulls/list.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/pulls/list.go b/cmd/pulls/list.go index 9c8661e..f63c4fc 100644 --- a/cmd/pulls/list.go +++ b/cmd/pulls/list.go @@ -44,7 +44,8 @@ func RunPullsList(_ stdctx.Context, cmd *cli.Command) error { } prs, _, err := ctx.Login.Client().ListRepoPullRequests(ctx.Owner, ctx.Repo, gitea.ListPullRequestsOptions{ - State: state, + ListOptions: flags.GetListOptions(), + State: state, }) if err != nil {