Services tab header in detail view (still no services)

This commit is contained in:
Thomas Gelf 2014-03-06 18:54:38 +00:00
parent d1ca8ab0fe
commit 3a2b2339e8
1 changed files with 2 additions and 1 deletions

View File

@ -100,11 +100,12 @@ class Monitoring_ShowController extends Controller
$this->getTabs()->activate('history');
$this->view->object->populate();
$this->view->object->fetchEventHistory();
$this->view->history = $this->view->object->eventhistory->limit(10)->paginate();
$this->view->history = $this->view->object->eventhistory->limit(20)->paginate();
}
public function servicesAction()
{
$this->getTabs()->activate('services');
$params = $this->_request->getParams();
unset($params['service']);
$this->view->services = $this->fetchServices($params)->paginate();