mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
monitoring: Sort by display_names instead of name1 and name2 by default in the services overview
refs #7843
This commit is contained in:
parent
fe3bbb712d
commit
e602717bd9
@ -25,6 +25,7 @@ class ServiceStatus extends DataView
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'host_name',
|
'host_name',
|
||||||
|
'host_display_name',
|
||||||
'host_state',
|
'host_state',
|
||||||
'host_state_type',
|
'host_state_type',
|
||||||
'host_last_state_change',
|
'host_last_state_change',
|
||||||
@ -123,17 +124,17 @@ class ServiceStatus extends DataView
|
|||||||
public function getSortRules()
|
public function getSortRules()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'host_name' => array(
|
'host_display_name' => array(
|
||||||
'columns' => array(
|
'columns' => array(
|
||||||
'service_host_name',
|
'host_display_name',
|
||||||
'service_description'
|
'service_display_name'
|
||||||
),
|
),
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
'host_address' => array(
|
'host_address' => array(
|
||||||
'columns' => array(
|
'columns' => array(
|
||||||
'host_ipv4',
|
'host_ipv4',
|
||||||
'service_description'
|
'service_display_name'
|
||||||
),
|
),
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user