monitoring: Support sorting by host and service display name in the Comment data view

refs #7843
This commit is contained in:
Eric Lippmann 2015-01-21 16:15:09 +01:00
parent cf391b056c
commit 3055531e2d
1 changed files with 10 additions and 3 deletions

View File

@ -45,13 +45,20 @@ class Comment extends DataView
'comment_timestamp' => array(
'order' => self::SORT_DESC
),
'comment_host' => array(
'host_display_name' => array(
'columns' => array(
'comment_host',
'comment_service'
'host_display_name',
'service_display_name'
),
'order' => self::SORT_ASC
),
'service_display_name' => array(
'columns' => array(
'service_display_name',
'host_display_name'
),
'order' => self::SORT_ASC
)
);
}
}