Select downtime name in the downtime list view

refs #11398
This commit is contained in:
Eric Lippmann 2016-08-31 14:05:36 +02:00
parent 5737521683
commit 57406245ca
2 changed files with 4 additions and 2 deletions

View File

@ -229,6 +229,7 @@ class ListController extends Controller
'is_fixed' => 'downtime_is_fixed',
'is_in_effect' => 'downtime_is_in_effect',
'entry_time' => 'downtime_entry_time',
'name' => 'downtime_name',
'host_state',
'service_state',
'host_name',

View File

@ -61,8 +61,9 @@
$deleteButton->setAttrib('class', $deleteButton->getAttrib('class') . ' remove-action');
$deleteButton->populate(
array(
'downtime_id' => $downtime->id,
'downtime_is_service' => isset($downtime->service_description)
'downtime_id' => $downtime->id,
'downtime_is_service' => isset($downtime->service_description),
'downtime_name' => $downtime->name
)
);
$deleteButton->getElement('btn_submit')