From c56d6e3f6b625a1dfc3d2904ce1f2cacc16690ac Mon Sep 17 00:00:00 2001 From: thomas girod Date: Fri, 9 Aug 2024 17:35:33 +0200 Subject: [PATCH] fix wrong page size when fetching pictures. --- core/templates/core/user_pictures.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/core/user_pictures.jinja b/core/templates/core/user_pictures.jinja index c3815552..e39e7c72 100644 --- a/core/templates/core/user_pictures.jinja +++ b/core/templates/core/user_pictures.jinja @@ -94,7 +94,7 @@ from paginated routes. In order to download all the user pictures, it may be needed to performs multiple requests #} - const max_per_page = 1; + const max_per_page = 199; const url = "{{ url("api:pictures") }}" + "?users_identified={{ object.id }}" + `&page_size=${max_per_page}`;