Skip to content

Commit

Permalink
host/services: Make sure severity sort orders the same as anywhere else
Browse files Browse the repository at this point in the history
fixes #915
  • Loading branch information
nilmerg committed Oct 25, 2023
1 parent a5b4a1a commit c503f14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions application/controllers/HostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
]
);

Expand Down

0 comments on commit c503f14

Please sign in to comment.