Monitoring/ListController: Sort `hostStatus' view from request params

The `hostAction()' lacked ordering because the action no longer uses `HostStatusView::fromRequest()'.
This commit is contained in:
Eric Lippmann 2014-05-07 10:25:48 +02:00
parent 5b895ab038
commit bc4783099a

View File

@ -140,7 +140,7 @@ class Monitoring_ListController extends Controller
'host_current_check_attempt',
'host_max_check_attempts'
)
);
)->order($this->getParam('sort'), $this->getParam('dir'));
$query = $dataView->getQuery();
$this->applyRestrictions($dataView);