You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @LIQRGV, I am using this package and try to fetch 13k records, and they loaded as my expectation. But I think it would be nice if we have a default pagination limit. I am thinking some of these terms:
We can set a default limit value in a config file.
The default pagination limit is null, means no limit.
We can create a child RequestParser class, and override the pagination limit with a class property.
<?php
namespace App\Http\Requests;
use Illuminate\Http\Request;
use LIQRGV\QueryFilter\RequestParser;
class BrowseInvoice extends RequestParser
{
protected $pageLimit = 50;
public function __construct(Request $request)
{
parent::__construct($request);
}
}
The text was updated successfully, but these errors were encountered:
Hi @LIQRGV, I am using this package and try to fetch 13k records, and they loaded as my expectation. But I think it would be nice if we have a default pagination limit. I am thinking some of these terms:
null
, means no limit.The text was updated successfully, but these errors were encountered: