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
Laravel datatables has an interesting bug, you can request virtually unlimited rows. When using datatable in public we usually set a max record per page in order to minimize server load or to stop people from collecting all data's in a single request.
I think adding a limit configuration in the config file can solve this issue.
The text was updated successfully, but these errors were encountered:
This will insert lengthMenu parameter according to max_record_per_page in config file. This will not affect manual lengthMenu insertion in "builder parameters". PSR2 CS Fix.
saaiful
added a commit
to saaiful/laravel-datatables
that referenced
this issue
Jan 16, 2021
Summary of problem or feature request
Laravel datatables has an interesting bug, you can request virtually unlimited rows. When using datatable in public we usually set a max record per page in order to minimize server load or to stop people from collecting all data's in a single request.
I think adding a limit configuration in the config file can solve this issue.
The text was updated successfully, but these errors were encountered: