mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 21:04:25 +02:00
Sort host overview by severity by default ...
... as indicated by the sort control.
This commit is contained in:
parent
cd5e07063f
commit
e17f9d7ebe
@ -90,6 +90,13 @@ class HostStatus extends DataView
|
|||||||
public function getSortRules()
|
public function getSortRules()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
'host_severity' => array(
|
||||||
|
'columns' => array(
|
||||||
|
'host_severity',
|
||||||
|
'host_last_state_change',
|
||||||
|
),
|
||||||
|
'order' => self::SORT_DESC
|
||||||
|
),
|
||||||
'host_display_name' => array(
|
'host_display_name' => array(
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
@ -101,13 +108,6 @@ class HostStatus extends DataView
|
|||||||
),
|
),
|
||||||
'host_last_state_change' => array(
|
'host_last_state_change' => array(
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
|
||||||
'host_severity' => array(
|
|
||||||
'columns' => array(
|
|
||||||
'host_severity',
|
|
||||||
'host_last_state_change',
|
|
||||||
),
|
|
||||||
'order' => self::SORT_DESC
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user