monitoring: Add sort by 'Host' and 'Service' in the comments overview

refs #7843
This commit is contained in:
Eric Lippmann 2015-01-21 16:15:38 +01:00
parent 3055531e2d
commit 6be0224d9d

View File

@ -474,10 +474,11 @@ class Monitoring_ListController extends Controller
$this->setupSortControl( $this->setupSortControl(
array( array(
'comment_timestamp' => $this->translate('Comment Timestamp'), 'comment_timestamp' => $this->translate('Comment Timestamp'),
'comment_host' => $this->translate('Host / Service'), 'host_display_name' => $this->translate('Host'),
'comment_type' => $this->translate('Comment Type'), 'service_display_name' => $this->translate('Service'),
'comment_expiration' => $this->translate('Expiration'), 'comment_type' => $this->translate('Comment Type'),
'comment_expiration' => $this->translate('Expiration')
) )
); );
$this->view->delCommentForm = new DeleteCommentCommandForm(); $this->view->delCommentForm = new DeleteCommentCommandForm();