From a1421b913841476f20d97f7dca8635329f351653 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Thu, 5 Jan 2023 13:47:51 +0100 Subject: [PATCH] #9999 changed value limit in sql filter --- pandora_console/include/ajax/alert_list.ajax.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandora_console/include/ajax/alert_list.ajax.php b/pandora_console/include/ajax/alert_list.ajax.php index 26e089d104..feeb235337 100644 --- a/pandora_console/include/ajax/alert_list.ajax.php +++ b/pandora_console/include/ajax/alert_list.ajax.php @@ -850,11 +850,9 @@ if ($get_agent_alerts_datatable === true) { } else { $options_simple = [ 'order' => $order, + 'limit' => ($length > 0) ? $length : 18446744073709551615, 'offset' => $start, ]; - if ($length > 0) { - $options_simple['limit'] = $length; - } } if ($idAgent !== 0) {