#9999 changed value limit in sql filter

This commit is contained in:
Daniel Cebrian 2023-01-05 13:47:51 +01:00
parent 7906c8fe2f
commit a1421b9138

View File

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