Monitoring/History: Add menu entry

refs #4765
This commit is contained in:
Eric Lippmann 2013-10-16 14:55:06 +02:00
parent bb8cad2a85
commit 68f20e6231
2 changed files with 9 additions and 10 deletions

View File

@ -28,3 +28,6 @@ Servicegroups.route = "/monitoring/list/servicegroups"
Hostgroups.title = "Hostgroups"
Hostgroups.route = "/monitoring/list/hostgroups"
History.title = "History"
History.route = "/monitoring/list/eventhistory"

View File

@ -369,17 +369,13 @@ class Monitoring_ListController extends MonitoringController
public function eventhistoryAction()
{
$query = EventHistoryView::fromRequest(
$this->_request
)->getQuery();
$query = EventHistoryView::fromRequest($this->_request)->getQuery();
$this->handleFormatRequest($query);
$this->view->history = $query->paginate();
$this->setupSortControl(
array(
)
);
$this->handleFormatRequest($query);
}
/**