not group by event status pandora_enterprise#8043
This commit is contained in:
parent
e30eff5e6e
commit
e3e9f86119
|
@ -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']
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -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':
|
||||||
|
|
Loading…
Reference in New Issue