mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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:
parent
5b895ab038
commit
bc4783099a
@ -140,7 +140,7 @@ class Monitoring_ListController extends Controller
|
|||||||
'host_current_check_attempt',
|
'host_current_check_attempt',
|
||||||
'host_max_check_attempts'
|
'host_max_check_attempts'
|
||||||
)
|
)
|
||||||
);
|
)->order($this->getParam('sort'), $this->getParam('dir'));
|
||||||
$query = $dataView->getQuery();
|
$query = $dataView->getQuery();
|
||||||
$this->applyRestrictions($dataView);
|
$this->applyRestrictions($dataView);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user