mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Limit per page to 5000
This commit is contained in:
parent
0d6c8f05e1
commit
36655eabec
@ -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…
Reference in New Issue
Block a user