From The Blog

CakePHP max number of fetched row on pagination

12 October 2012, in CakePHP

By default, the maximum number of fetched rows on pagination is set to 100 rows, whatever number of rows higher than it you assign it to the "limit", property, it will not affect, but you can adjust it as part of the pagination options:

public $paginate = array(
    // other keys here.
    'maxLimit' => 10
);

If the request's limit param is greater than this value, it will be reduced to the maxLimit value.



Post a Comment