Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mecmartini/dc669a7efff30acc81d598a9fa18df2c to your computer and use it in GitHub Desktop.
Save mecmartini/dc669a7efff30acc81d598a9fa18df2c to your computer and use it in GitHub Desktop.
Set drupal jsonapi page limit to 300
diff --git a/src/Query/OffsetPage.php b/src/Query/OffsetPage.php
index 7e1a7a0..9c82050 100644
--- a/src/Query/OffsetPage.php
+++ b/src/Query/OffsetPage.php
@@ -42,7 +42,7 @@ class OffsetPage {
*
* @var int
*/
- const SIZE_MAX = 50;
+ const SIZE_MAX = 300;
/**
* The offset for the query.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment