From 8a6240fe02e7c14addce1ad2ebbfb4de6d6c94d2 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 27 Jul 2017 15:03:12 +0200 Subject: [PATCH] Reduce service_severity order by columns Ordering by host and service display_name too here reduces performance and is not necessary. --- .../monitoring/library/Monitoring/DataView/Servicestatus.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Servicestatus.php b/modules/monitoring/library/Monitoring/DataView/Servicestatus.php index 7f3f075bd..d653ceb07 100644 --- a/modules/monitoring/library/Monitoring/DataView/Servicestatus.php +++ b/modules/monitoring/library/Monitoring/DataView/Servicestatus.php @@ -112,9 +112,7 @@ class ServiceStatus extends DataView 'service_severity' => array( 'columns' => array( 'service_severity', - 'service_last_state_change DESC', - 'service_display_name ASC', - 'host_display_name ASC' + 'service_last_state_change DESC' ), 'order' => self::SORT_DESC ),