Sort hosts and services descending by last state change

refs #9957
This commit is contained in:
Alexander A. Klimov 2015-12-18 15:48:55 +01:00
parent 3e36563a81
commit 2624c7f328
2 changed files with 4 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class HostStatus extends DataView
'order' => self::SORT_ASC 'order' => self::SORT_ASC
), ),
'host_last_state_change' => array( 'host_last_state_change' => array(
'order' => self::SORT_ASC 'order' => self::SORT_DESC
) )
); );
} }

View File

@ -145,6 +145,9 @@ class ServiceStatus extends DataView
'service_display_name' 'service_display_name'
), ),
'order' => self::SORT_ASC 'order' => self::SORT_ASC
),
'service_last_state_change' => array(
'order' => self::SORT_DESC
) )
); );
} }