Skip to content

Commit

Permalink
[#2910] Remove pagination cap from all ZGW requests
Browse files Browse the repository at this point in the history
  • Loading branch information
swrichards committed Nov 28, 2024
1 parent e589b3a commit e1fa7b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/open_inwoner/cms/cases/views/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def get_cases(self) -> list[ZaakWithApiGroup]:

def _get_cases_for_api_group(self, group: ZGWApiGroupConfig) -> list[Zaak]:
raw_cases = group.zaken_client.fetch_cases(
**get_user_fetch_parameters(self.request)
**get_user_fetch_parameters(self.request),
)
resolved_cases = self.resolve_cases(raw_cases, group)

Expand Down
8 changes: 4 additions & 4 deletions src/open_inwoner/openzaak/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def fetch_cases(
user_bsn: str | None = None,
user_kvk: str | None = None,
user_rsin: str | None = None,
max_requests: int = 4,
max_requests: int | None = None,
identificatie: str | None = None,
vestigingsnummer: str | None = None,
):
Expand Down Expand Up @@ -101,7 +101,7 @@ def fetch_cases(
def fetch_cases_by_bsn(
self,
user_bsn: str,
max_requests: int | None = 4,
max_requests: int | None = None,
identificatie: str | None = None,
) -> list[Zaak]:
"""
Expand Down Expand Up @@ -149,7 +149,7 @@ def fetch_cases_by_bsn(
def fetch_cases_for_company(
self,
kvk_or_rsin: str | None = None,
max_requests: int | None = 4,
max_requests: int | None = None,
zaak_identificatie: str | None = None,
vestigingsnummer: str | None = None,
) -> list[Zaak]:
Expand Down Expand Up @@ -684,7 +684,7 @@ def fetch_open_submissions(
user_bsn: str | None = None,
user_kvk: str | None = None,
vestigingsnummer: str | None = None,
max_requests: int = 4,
max_requests: int | None = None,
**kwargs,
) -> list[OpenSubmission]:
if user_bsn and (user_kvk or vestigingsnummer):
Expand Down

0 comments on commit e1fa7b8

Please sign in to comment.