monitoring: Fix select columns for downtimes

refs #9009
refs #9319
This commit is contained in:
Eric Lippmann 2015-05-26 17:07:58 +02:00
parent bb9b9bc754
commit cd1ee3e306

View File

@ -229,7 +229,7 @@ class Monitoring_ListController extends Controller
$query = $this->backend->select()->from('downtime', array( $query = $this->backend->select()->from('downtime', array(
'id' => 'downtime_internal_id', 'id' => 'downtime_internal_id',
'objecttype' => 'downtime_objecttype', 'objecttype' => 'object_type',
'comment' => 'downtime_comment', 'comment' => 'downtime_comment',
'author_name' => 'downtime_author_name', 'author_name' => 'downtime_author_name',
'start' => 'downtime_start', 'start' => 'downtime_start',
@ -241,8 +241,8 @@ class Monitoring_ListController extends Controller
'is_fixed' => 'downtime_is_fixed', 'is_fixed' => 'downtime_is_fixed',
'is_in_effect' => 'downtime_is_in_effect', 'is_in_effect' => 'downtime_is_in_effect',
'entry_time' => 'downtime_entry_time', 'entry_time' => 'downtime_entry_time',
'host_state' => 'downtime_host_state', 'host_state',
'service_state' => 'downtime_service_state', 'service_state',
'host_name', 'host_name',
'service_description', 'service_description',
'host_display_name', 'host_display_name',