From 7906c8fe2f95c19c1e9d55f85d37ea895822f8d3 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Thu, 5 Jan 2023 13:40:59 +0100 Subject: [PATCH] #9999 fixed filter all in alert list --- pandora_console/include/ajax/alert_list.ajax.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/alert_list.ajax.php b/pandora_console/include/ajax/alert_list.ajax.php index a92ba9f9d9..26e089d104 100644 --- a/pandora_console/include/ajax/alert_list.ajax.php +++ b/pandora_console/include/ajax/alert_list.ajax.php @@ -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) {