#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

View File

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