I have so many users and they can edit their filters as much as they want.
Sometimes people decide to set the per_page of a filter to 100.000 records. This obviously stresses the server and after some times the page is returning blank with Fatal error in the logs.
How to prevent people to mess with the filters or limit at least some parameters?
How is possibile to limit the per_page settings in filter?
Moderators: Developer, Contributor
Re: How is possibile to limit the per_page settings in filter?
There is only $g_default_limit_view. unfortunately there is no $g_max_limit_view 
So 3 options:
- live with it
- implement something like $g_max_limit_view
- adjust the code (not a good idea but possible)
-- check function print_filter_per_page in filter_form_api.php

So 3 options:
- live with it
- implement something like $g_max_limit_view
- adjust the code (not a good idea but possible)
-- check function print_filter_per_page in filter_form_api.php