mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
monitoring: Sort by host_display_name instead of name1 by default
refs #7843
This commit is contained in:
parent
0b557b7b29
commit
ab7a5763a6
@ -24,6 +24,7 @@ class HostStatus extends DataView
|
|||||||
return array(
|
return array(
|
||||||
'host',
|
'host',
|
||||||
'host_name',
|
'host_name',
|
||||||
|
'host_display_name',
|
||||||
'host_alias',
|
'host_alias',
|
||||||
'host_address',
|
'host_address',
|
||||||
'host_state',
|
'host_state',
|
||||||
@ -90,7 +91,7 @@ class HostStatus extends DataView
|
|||||||
public function getSortRules()
|
public function getSortRules()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'host_name' => array(
|
'host_display_name' => array(
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
'host_address' => array(
|
'host_address' => array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user