';
$active_filters_div .= '
'.__('Duplicated').'
';
$active_filters_div .= '
';
- if ($group_rep == 0) {
+ if ($group_rep == EVENT_GROUP_REP_ALL) {
$active_filters_div .= __('All events.');
- } else if ($group_rep == 1) {
+ } else if ($group_rep == EVENT_GROUP_REP_EVENTS) {
$active_filters_div .= __('Group events');
- } else if ($group_rep == 2) {
+ } else if ($group_rep == EVENT_GROUP_REP_AGENTS) {
$active_filters_div .= __('Group agents.');
+ } else if ($group_rep == EVENT_GROUP_REP_EXTRAIDS) {
+ $active_filters_div .= __('Group extra id.');
}
$active_filters_div .= '
';
diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php
index fb303dd3fa..326eecf73f 100644
--- a/pandora_console/operation/menu.php
+++ b/pandora_console/operation/menu.php
@@ -410,7 +410,7 @@ if ($access_console_node === true) {
$user_event_filter = [
'status' => EVENT_NO_VALIDATED,
'event_view_hr' => $config['event_view_hr'],
- 'group_rep' => 1,
+ 'group_rep' => EVENT_GROUP_REP_EVENTS,
'tag_with' => [],
'tag_without' => [],
'history' => false,