Update alerts.inc.php (#8977)

Also sort by timestamp, after sorting/grouping by severity.
This commit is contained in:
dsgagi
2018-08-11 16:41:40 -05:00
committed by Tony Murray
parent 9940c884f5
commit 1ea2ed273e
+1 -1
View File
@@ -103,7 +103,7 @@ if (empty($total)) {
if (!isset($vars['sort']) || empty($vars['sort'])) {
$sort = 'timestamp DESC';
} else {
$sort = '`alert_rules`.`severity` DESC';
$sort = '`alert_rules`.`severity` DESC, timestamp DESC';
}
$sql .= " ORDER BY $sort";