Skip to content

Commit

Permalink
Merge pull request #615 from biglotteryfund/block-limit-increase
Browse files Browse the repository at this point in the history
Number of research elements increased to 12
  • Loading branch information
joshgriff465 authored May 12, 2021
2 parents 6ed269d + bce7458 commit 5df1744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/element-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ function getResearch($locale, $type = false)
}
}

$defaultPageLimit = 10;
$defaultPageLimit = 12;
$pageLimit = \Craft::$app->request->getParam('page-limit') ?: $defaultPageLimit;

return [
Expand Down

0 comments on commit 5df1744

Please sign in to comment.