monitoring: Don't hardcode sort direction of the severity columns
fixes #9059
This commit is contained in:
parent
82f9425b90
commit
195275a716
|
@ -94,10 +94,11 @@ class HostStatus extends DataView
|
|||
),
|
||||
'host_severity' => array(
|
||||
'columns' => array(
|
||||
'host_severity DESC',
|
||||
'host_severity',
|
||||
'host_last_state_change DESC',
|
||||
'host_display_name ASC'
|
||||
)
|
||||
),
|
||||
'order' => self::SORT_DESC
|
||||
),
|
||||
'host_address' => array(
|
||||
'columns' => array(
|
||||
|
|
|
@ -130,19 +130,21 @@ class ServiceStatus extends DataView
|
|||
),
|
||||
'service_severity' => array(
|
||||
'columns' => array(
|
||||
'service_severity DESC',
|
||||
'service_severity',
|
||||
'service_last_state_change DESC',
|
||||
'service_display_name ASC',
|
||||
'host_display_name ASC'
|
||||
)
|
||||
),
|
||||
'order' => self::SORT_DESC
|
||||
),
|
||||
'host_severity' => array(
|
||||
'columns' => array(
|
||||
'host_severity DESC',
|
||||
'host_severity',
|
||||
'host_last_state_change DESC',
|
||||
'host_display_name ASC',
|
||||
'service_display_name ASC'
|
||||
)
|
||||
),
|
||||
'order' => self::SORT_DESC
|
||||
),
|
||||
'host_display_name' => array(
|
||||
'columns' => array(
|
||||
|
|
Loading…
Reference in New Issue