diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index 0a7d29796..1c0cfe20d 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -59,8 +59,6 @@ class Monitoring_ListController extends Controller { $this->addTitleTab('hosts'); $this->setAutorefreshInterval(10); - // TODO: Get rid of query here (multiselect) - $this->view->query = $this->_request->getQuery(); $this->compactView = 'hosts-compact'; $query = $this->backend->select()->from('hostStatus', array( 'host_icon_image', @@ -89,11 +87,11 @@ class Monitoring_ListController extends Controller $this->applyFilters($query); $this->setupSortControl(array( - 'host_last_check' => 'Last Host Check', - 'host_severity' => 'Host Severity', - 'host_state' => 'Current Host State', - 'host_name' => 'Host Name', + 'host_last_check' => 'Last Check', + 'host_severity' => 'Severity', + 'host_name' => 'Hostname', 'host_address' => 'Address', + 'host_state' => 'Current State', 'host_state' => 'Hard State' )); $this->view->hosts = $query->paginate(); diff --git a/modules/monitoring/application/views/scripts/list/hosts.phtml b/modules/monitoring/application/views/scripts/list/hosts.phtml index d12b11a73..53d57bbc8 100644 --- a/modules/monitoring/application/views/scripts/list/hosts.phtml +++ b/modules/monitoring/application/views/scripts/list/hosts.phtml @@ -5,13 +5,16 @@ $helper = $this->getHelper('MonitoringState'); = $this->tabs ?>