Sort host overview by severity by default ...

... as indicated by the sort control.
This commit is contained in:
Eric Lippmann 2015-03-13 17:01:52 +01:00
parent cd5e07063f
commit e17f9d7ebe
1 changed files with 7 additions and 7 deletions

View File

@ -90,6 +90,13 @@ class HostStatus extends DataView
public function getSortRules()
{
return array(
'host_severity' => array(
'columns' => array(
'host_severity',
'host_last_state_change',
),
'order' => self::SORT_DESC
),
'host_display_name' => array(
'order' => self::SORT_ASC
),
@ -101,13 +108,6 @@ class HostStatus extends DataView
),
'host_last_state_change' => array(
'order' => self::SORT_ASC
),
'host_severity' => array(
'columns' => array(
'host_severity',
'host_last_state_change',
),
'order' => self::SORT_DESC
)
);
}