monitoring/show: handle format=sql after pagination

This commit is contained in:
Thomas Gelf 2014-09-02 13:26:48 +02:00
parent 62c0f0be03
commit 8a5e274c8b
1 changed files with 1 additions and 2 deletions

View File

@ -89,9 +89,8 @@ class Monitoring_ShowController extends Controller
$this->getTabs()->activate('history'); $this->getTabs()->activate('history');
//$this->view->object->populate(); //$this->view->object->populate();
$this->view->object->fetchEventHistory(); $this->view->object->fetchEventHistory();
$this->view->history = $this->view->object->eventhistory->paginate($this->params->get('limit', 50));
$this->handleFormatRequest($this->view->object->eventhistory); $this->handleFormatRequest($this->view->object->eventhistory);
$this->view->history = $this->view->object->eventhistory
->paginate($this->params->get('limit', 50));
} }
public function servicesAction() public function servicesAction()