not group by event status pandora_enterprise#8043

This commit is contained in:
Daniel Barbero Martin 2022-07-26 10:55:11 +02:00
parent e30eff5e6e
commit e3e9f86119
2 changed files with 2 additions and 3 deletions

View File

@ -99,9 +99,8 @@ if ($get_comments === true) {
$whereGrouped = '1=1'; $whereGrouped = '1=1';
// Default grouped message filtering (evento and estado). // Default grouped message filtering (evento and estado).
$whereGrouped = sprintf( $whereGrouped = sprintf(
'`evento` = "%s" AND `estado` = "%s" AND `event_type` = "%s" ', '`evento` = "%s" AND `event_type` = "%s" ',
$event['evento'], $event['evento'],
$event['estado'],
$event['event_type'] $event['event_type']
); );

View File

@ -1383,7 +1383,7 @@ function events_get_all(
case '1': case '1':
// Group by events. // Group by events.
$group_by .= 'te.evento, te.id_agente, te.id_agentmodule, te.estado'; $group_by .= 'te.evento, te.id_agente, te.id_agentmodule';
break; break;
case '2': case '2':