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);
|
||||
}
|
||||
$this->view->filter = $filter;
|
||||
if ($sort) {
|
||||
$query->order($sort, $dir);
|
||||
}
|
||||
$query->order($sort, $dir);
|
||||
$this->applyRestrictions($query);
|
||||
$this->handleFormatRequest($query);
|
||||
return $query;
|
||||
|
|
Loading…
Reference in New Issue