Select comment name in the comment list view

refs #11398
This commit is contained in:
Eric Lippmann 2016-08-31 13:04:11 +02:00
parent 69db59a38e
commit 39f225a627
2 changed files with 3 additions and 1 deletions

View File

@ -422,6 +422,7 @@ class ListController extends Controller
'type' => 'comment_type', 'type' => 'comment_type',
'persistent' => 'comment_is_persistent', 'persistent' => 'comment_is_persistent',
'expiration' => 'comment_expiration', 'expiration' => 'comment_expiration',
'name' => 'comment_name',
'host_name', 'host_name',
'service_description', 'service_description',
'host_display_name', 'host_display_name',

View File

@ -53,7 +53,8 @@
$deleteButton->populate( $deleteButton->populate(
array( array(
'comment_id' => $comment->id, 'comment_id' => $comment->id,
'comment_is_service' => isset($comment->service_description) 'comment_is_service' => isset($comment->service_description),
'comment_name' => $comment->name
) )
); );
$deleteButton->getElement('btn_submit') $deleteButton->getElement('btn_submit')