Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recordsFiltered Limit (Hard Limit in Config) #2493

Open
saaiful opened this issue Oct 24, 2020 · 0 comments
Open

recordsFiltered Limit (Hard Limit in Config) #2493

saaiful opened this issue Oct 24, 2020 · 0 comments

Comments

@saaiful
Copy link

saaiful commented Oct 24, 2020

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.

saaiful added a commit to saaiful/laravel-datatables-html that referenced this issue Jan 16, 2021
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
Hard Limit in Config (for Pagination)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants