Limit per page to 5000
This commit is contained in:
parent
0d6c8f05e1
commit
36655eabec
1 changed files with 1 additions and 0 deletions
|
|
@ -556,6 +556,7 @@ class BaseController extends Controller
|
|||
{
|
||||
if (request()->has('per_page')) {
|
||||
return min(abs((int)request()->input('per_page', 20)), 5000);
|
||||
// return abs((int)request()->input('per_page', 20));
|
||||
}
|
||||
|
||||
return 20;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue