monitoring: Support sorting downtimes by host and service display_name

refs #7843
This commit is contained in:
Eric Lippmann 2015-01-21 13:06:03 +01:00
parent 5862fc98a5
commit 91b7c31cda
1 changed files with 10 additions and 3 deletions

View File

@ -51,10 +51,17 @@ class Downtime extends DataView
'downtime_start' => array( 'downtime_start' => array(
'order' => self::SORT_DESC 'order' => self::SORT_DESC
), ),
'downtime_host' => array( 'host_display_name' => array(
'columns' => array( 'columns' => array(
'downtime_host', 'host_display_name',
'downtime_service' 'service_display_name'
),
'order' => self::SORT_ASC
),
'service_display_name' => array(
'columns' => array(
'service_display_name',
'host_display_name'
), ),
'order' => self::SORT_ASC 'order' => self::SORT_ASC
) )