From 8a5e274c8b41e47b09bf67c40dd4818d67271314 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 2 Sep 2014 13:26:48 +0200 Subject: [PATCH] monitoring/show: handle format=sql after pagination --- modules/monitoring/application/controllers/ShowController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/monitoring/application/controllers/ShowController.php b/modules/monitoring/application/controllers/ShowController.php index 1ad0f29dd..0200284ce 100644 --- a/modules/monitoring/application/controllers/ShowController.php +++ b/modules/monitoring/application/controllers/ShowController.php @@ -89,9 +89,8 @@ class Monitoring_ShowController extends Controller $this->getTabs()->activate('history'); //$this->view->object->populate(); $this->view->object->fetchEventHistory(); + $this->view->history = $this->view->object->eventhistory->paginate($this->params->get('limit', 50)); $this->handleFormatRequest($this->view->object->eventhistory); - $this->view->history = $this->view->object->eventhistory - ->paginate($this->params->get('limit', 50)); } public function servicesAction()