diff --git a/includes/html/table/alerts.inc.php b/includes/html/table/alerts.inc.php index a4c1cc36d6..6e81dfb9a3 100644 --- a/includes/html/table/alerts.inc.php +++ b/includes/html/table/alerts.inc.php @@ -60,7 +60,7 @@ if (! $show_recovered) { } if (isset($searchPhrase) && ! empty($searchPhrase)) { - $where .= ' AND (`timestamp` LIKE ? OR `rule` LIKE ? OR `name` LIKE ? OR `hostname` LIKE ? OR `sysName` LIKE ?)'; + $where .= ' AND (`alerts`.`timestamp` LIKE ? OR `rule` LIKE ? OR `name` LIKE ? OR `hostname` LIKE ? OR `sysName` LIKE ?)'; $param[] = "%$searchPhrase%"; $param[] = "%$searchPhrase%"; $param[] = "%$searchPhrase%";