parent
1f571589de
commit
2291e73c4c
|
@ -330,8 +330,11 @@ class Monitoring_ListController extends MonitoringController
|
|||
'cnt_services_pending'
|
||||
)
|
||||
)->getQuery();
|
||||
$this->view->servicegroups = $query->paginate();
|
||||
$this->handleFormatRequest($query);
|
||||
$this->view->servicegroups = $query->paginate();
|
||||
$this->setupSortControl(array(
|
||||
'servicegroup_name' => 'Servicegroup Name'
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<div data-icinga-component="app/mainDetailGrid">
|
||||
<?= $this->sortControl->render($this); ?>
|
||||
<?= $this->paginationControl($servicegroups, null, null, array('preserve' => $this->preserve)); ?>
|
||||
<table class="table table-condensed">
|
||||
<table>
|
||||
<tbody>
|
||||
<?php foreach($servicegroups as $servicegroup): ?>
|
||||
<tr>
|
||||
|
|
|
@ -43,7 +43,7 @@ class ServicestatusQuery extends AbstractQuery
|
|||
),
|
||||
'servicegroups' => array(
|
||||
'servicegroups' => 'sgo.name1',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
protected function getDefaultColumns()
|
||||
|
|
|
@ -37,10 +37,10 @@ class Groupsummary extends DataView
|
|||
{
|
||||
return array(
|
||||
'servicegroup_name' => array(
|
||||
'order' => self::SORT_DESC
|
||||
'order' => self::SORT_ASC
|
||||
),
|
||||
'hostgroup_name' => array(
|
||||
'order' => self::SORT_DESC
|
||||
'order' => self::SORT_ASC
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue