A few small backend changes
This commit is contained in:
parent
249018808b
commit
77dada8318
|
@ -74,7 +74,7 @@ class Controller extends ActionController
|
|||
'service_attempt',
|
||||
'service_last_state_change',
|
||||
'service_icon_image',
|
||||
'service_long_output',
|
||||
// 'service_long_output',
|
||||
'service_is_flapping',
|
||||
'service_state_type',
|
||||
'service_handled',
|
||||
|
@ -83,7 +83,7 @@ class Controller extends ActionController
|
|||
'service_notifications_enabled',
|
||||
'service_action_url',
|
||||
'service_notes_url',
|
||||
'service_last_comment',
|
||||
// 'service_last_comment',
|
||||
'service_active_checks_enabled',
|
||||
'service_passive_checks_enabled',
|
||||
'current_check_attempt' => 'service_current_check_attempt',
|
||||
|
|
|
@ -125,14 +125,14 @@ class HostStatus extends DataView
|
|||
'host_severity',
|
||||
'host_last_state_change',
|
||||
),
|
||||
'order' => self::SORT_ASC
|
||||
'order' => self::SORT_DESC
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function getFilterColumns()
|
||||
{
|
||||
return array('hostgroup', 'servicegroup', 'service_problems');
|
||||
return array('hostgroup', 'service_problems');
|
||||
}
|
||||
|
||||
public function isValidFilterTarget($column)
|
||||
|
|
|
@ -151,6 +151,13 @@ class ServiceStatus extends DataView
|
|||
'host_last_state_change',
|
||||
),
|
||||
'order' => self::SORT_ASC
|
||||
),
|
||||
'service_severity' => array(
|
||||
'columns' => array(
|
||||
'service_severity',
|
||||
'service_last_state_change',
|
||||
),
|
||||
'order' => self::SORT_DESC
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ class Service extends AbstractObject
|
|||
{
|
||||
$this->fetchComments()
|
||||
->fetchDowntimes()
|
||||
->fetchHostgroups()
|
||||
//->fetchHostgroups()
|
||||
->fetchServicegroups()
|
||||
->fetchContacts()
|
||||
->fetchContactGroups()
|
||||
|
|
Loading…
Reference in New Issue