diff --git a/src/Module/Core/Infrastructure/ApiPlatform/Resource/AuditLogResource.php b/src/Module/Core/Infrastructure/ApiPlatform/Resource/AuditLogResource.php index 23361d3..4879894 100644 --- a/src/Module/Core/Infrastructure/ApiPlatform/Resource/AuditLogResource.php +++ b/src/Module/Core/Infrastructure/ApiPlatform/Resource/AuditLogResource.php @@ -29,18 +29,16 @@ use App\Module\Core\Infrastructure\ApiPlatform\State\Provider\AuditLogProvider; * ?performed_at[after]=2026-04-01T00:00:00Z * ?performed_at[before]=2026-04-30T23:59:59Z * - * La pagination est assuree par le provider via DbalPaginator (implementant - * ApiPlatform\State\Pagination\PaginatorInterface), ce qui genere - * automatiquement hydra:view — aucune construction manuelle. + * La pagination herite du standard global (10 items / page, max 50, cf. + * `config/packages/api_platform.yaml`). Elle est materialisee par le + * DbalPaginator du provider qui implemente PaginatorInterface — API Platform + * genere automatiquement hydra:view sans construction manuelle. */ #[ApiResource( shortName: 'AuditLog', operations: [ new GetCollection( uriTemplate: '/audit-logs', - paginationItemsPerPage: 30, - paginationClientItemsPerPage: true, - paginationMaximumItemsPerPage: 50, security: "is_granted('core.audit_log.view')", provider: AuditLogProvider::class, ),