Update Journaux page to increase default results limit and ensure results are sent as strings

- Changed the default results limit from 10 to 30 in the Journaux page.
- Updated the `searchJournaux` method to cast the results parameter to a string to prevent HTTP 400 errors.
- Modified related tests to reflect the new results format and updated expected data structure in API responses.
- Enhanced documentation for the `jnl_list` endpoint to clarify the requirement for the results parameter to be a string.
This commit is contained in:
2026-02-23 10:34:42 +01:00
parent bb1bbc2904
commit 0ab94fdb91
3 changed files with 116 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ class Journaux extends Page
public string $select = '';
public int $results = 10;
public int $results = 30;
public string $type = '';
@@ -53,7 +53,7 @@ class Journaux extends Page
$params = array_filter([
'select' => $this->select,
'results' => $this->results,
'results' => (string) $this->results,
'TYPE' => $this->type,
]);