#9999 fixed filter all in alert list

This commit is contained in:
Daniel Cebrian 2023-01-05 13:40:59 +01:00
parent f8e3353836
commit 7906c8fe2f
1 changed files with 3 additions and 1 deletions

View File

@ -850,9 +850,11 @@ if ($get_agent_alerts_datatable === true) {
} else {
$options_simple = [
'order' => $order,
'limit' => $length,
'offset' => $start,
];
if ($length > 0) {
$options_simple['limit'] = $length;
}
}
if ($idAgent !== 0) {