Is there a way to force a limit so no more than say 5000 rows can be pulled out for any function? Whether it be export, search by date range etc.
You can connect on_data_display event and truncate the $data array to 5000 if it is greater.
$e["on_data_display"] = array("filter_display", null, true);
if (count($data["params"]) > 5000)
$data["params"] = array_slice($data["params"],0,5000);
Refer docs > event handling for help.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?