diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 6b10b7c439..ab3d0af8d3 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -2302,7 +2302,8 @@ function reporting_agents_inventory($report, $content) $search_sql = ''; if ($es_custom_fields != '') { - $search_sql .= ' AND id_os = '.$es_custom_fields; + // Search custom field. + // $search_sql .= ' AND id_os = '.$es_custom_fields; } if (in_array('0', $es_os_filter) === false) {