From 3a2b2339e8074a2a429b7d605f4473f96da4c1e6 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 6 Mar 2014 18:54:38 +0000 Subject: [PATCH] Services tab header in detail view (still no services) --- modules/monitoring/application/controllers/ShowController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/application/controllers/ShowController.php b/modules/monitoring/application/controllers/ShowController.php index 7bd4a5124..7b046d0f4 100644 --- a/modules/monitoring/application/controllers/ShowController.php +++ b/modules/monitoring/application/controllers/ShowController.php @@ -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();