From efcc7cd0dc67343489746576cba39b5eb2360c9f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 25 Oct 2023 09:07:29 +0200 Subject: [PATCH] host/services: Make sure severity sort orders the same as anywhere else fixes #915 --- application/controllers/HostController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/controllers/HostController.php b/application/controllers/HostController.php index a4f6d1cd2..259dd33f0 100644 --- a/application/controllers/HostController.php +++ b/application/controllers/HostController.php @@ -209,10 +209,10 @@ public function servicesAction() $sortControl = $this->createSortControl( $services, [ - 'service.display_name' => t('Name'), - 'service.state.severity desc' => t('Severity'), - 'service.state.soft_state' => t('Current State'), - 'service.state.last_state_change desc' => t('Last State Change') + 'service.display_name' => t('Name'), + 'service.state.severity desc,service.state.last_state_change desc' => t('Severity'), + 'service.state.soft_state' => t('Current State'), + 'service.state.last_state_change desc' => t('Last State Change') ] );