Added active events filter view meta (enterprise part)
This commit is contained in:
parent
4ae8963e2e
commit
cce99cb46b
|
@ -121,8 +121,8 @@ if ($severity != -1) {
|
||||||
|
|
||||||
// In metaconsole mode the agent search is performed by name
|
// In metaconsole mode the agent search is performed by name
|
||||||
if ($meta) {
|
if ($meta) {
|
||||||
$filter_resume['agent'] = $text_agent;
|
if (($text_agent != __('All')) && ($text_agent !== '')) {
|
||||||
if ($text_agent != __('All')) {
|
$filter_resume['agent'] = $text_agent;
|
||||||
$sql_post .= " AND agent_name LIKE '%$text_agent%'";
|
$sql_post .= " AND agent_name LIKE '%$text_agent%'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -734,7 +734,8 @@ enterprise_hook('print_event_tags_active_filters',
|
||||||
'event_type' => $types,
|
'event_type' => $types,
|
||||||
'severity' => $severities,
|
'severity' => $severities,
|
||||||
'duplicate' => $repeated_sel,
|
'duplicate' => $repeated_sel,
|
||||||
'alerts' => $alert_events_titles)
|
'alerts' => $alert_events_titles,
|
||||||
|
'groups' => users_get_groups_for_select($config["id_user"], $access, true, true, false))
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue