A few small backend changes

This commit is contained in:
Thomas Gelf 2014-02-18 19:42:18 +00:00
parent 249018808b
commit 77dada8318
4 changed files with 12 additions and 5 deletions

View File

@ -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',

View File

@ -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)

View File

@ -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
)
);
}

View File

@ -15,7 +15,7 @@ class Service extends AbstractObject
{
$this->fetchComments()
->fetchDowntimes()
->fetchHostgroups()
//->fetchHostgroups()
->fetchServicegroups()
->fetchContacts()
->fetchContactGroups()