Added active events filter view meta (enterprise part)

This commit is contained in:
fermin831 2017-02-28 17:43:39 +01:00
parent 4ae8963e2e
commit cce99cb46b
2 changed files with 4 additions and 3 deletions

View File

@ -121,8 +121,8 @@ if ($severity != -1) {
// In metaconsole mode the agent search is performed by name
if ($meta) {
if (($text_agent != __('All')) && ($text_agent !== '')) {
$filter_resume['agent'] = $text_agent;
if ($text_agent != __('All')) {
$sql_post .= " AND agent_name LIKE '%$text_agent%'";
}
}

View File

@ -734,7 +734,8 @@ enterprise_hook('print_event_tags_active_filters',
'event_type' => $types,
'severity' => $severities,
'duplicate' => $repeated_sel,
'alerts' => $alert_events_titles)
'alerts' => $alert_events_titles,
'groups' => users_get_groups_for_select($config["id_user"], $access, true, true, false))
)
);