Skip to content

Commit ee37cf8

Browse files
committed
4905: up itemsPerPage from 10 to 30 to fetch as much as possible
1 parent 1c8560a commit ee37cf8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/admin/components/util/fetch-data-hook.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ function useFetchDataHook(apiCall, ids, params = {}, key = "id") {
3333
apiCall({
3434
...params,
3535
page,
36-
itemsPerPage: 10,
36+
// The max items per page is 30: https://github.com/os2display/display-api-service/blob/develop/config/packages/api_platform.yaml#L11
37+
itemsPerPage: 30,
3738
}),
3839
);
3940

0 commit comments

Comments
 (0)