Sort by service_display_name too when sorting by service_severity

refs #8716
This commit is contained in:
Eric Lippmann 2015-03-13 17:13:52 +01:00
parent 7ddd8d7ad2
commit 03d85ac6ae
1 changed files with 16 additions and 7 deletions

View File

@ -125,17 +125,26 @@ class ServiceStatus extends DataView
return array(
'service_severity' => array(
'columns' => array(
'service_severity',
'service_last_state_change'
'service_severity DESC',
'service_last_state_change DESC',
'service_display_name ASC',
'host_display_name ASC'
)
),
'service_display_name' => array(
'columns' => array(
'service_display_name',
'host_display_name'
),
'order' => self::SORT_DESC
'order' => self::SORT_ASC
),
'host_severity' => array(
'columns' => array(
'host_severity',
'host_last_state_change',
),
'order' => self::SORT_ASC
'host_severity DESC',
'host_last_state_change DESC',
'host_display_name ASC',
'service_display_name ASC'
)
),
'host_display_name' => array(
'columns' => array(