mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Fix that the default sort order of a view is not being applied
fixes #6644
This commit is contained in:
parent
b23e36aa1a
commit
b7f5c8a84d
@ -530,9 +530,7 @@ class Monitoring_ListController extends Controller
|
|||||||
$query->applyFilter($filter);
|
$query->applyFilter($filter);
|
||||||
}
|
}
|
||||||
$this->view->filter = $filter;
|
$this->view->filter = $filter;
|
||||||
if ($sort) {
|
$query->order($sort, $dir);
|
||||||
$query->order($sort, $dir);
|
|
||||||
}
|
|
||||||
$this->applyRestrictions($query);
|
$this->applyRestrictions($query);
|
||||||
$this->handleFormatRequest($query);
|
$this->handleFormatRequest($query);
|
||||||
return $query;
|
return $query;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user