From 1621755103de28de012446cd35264fcbf67334e4 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 27 Jul 2017 15:03:12 +0200 Subject: [PATCH] Don't call UNIX_TIMESTAMP when sorting by host_severity --- modules/monitoring/library/Monitoring/DataView/Hoststatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Hoststatus.php b/modules/monitoring/library/Monitoring/DataView/Hoststatus.php index 3207250b0..02a099813 100644 --- a/modules/monitoring/library/Monitoring/DataView/Hoststatus.php +++ b/modules/monitoring/library/Monitoring/DataView/Hoststatus.php @@ -108,7 +108,7 @@ class HostStatus extends DataView 'host_severity' => array( 'columns' => array( 'host_severity', - 'host_last_state_change DESC' + 'host_last_state_change_ts DESC' ), 'order' => self::SORT_DESC ),