Revert "SortBox::handleRequest(): set query order direction to asc if it's not given"
This reverts commit 59753acece
.
This commit is contained in:
parent
386d4db851
commit
ad8903660d
|
@ -114,7 +114,7 @@ class SortBox extends AbstractWidget
|
||||||
$request = Icinga::app()->getFrontController()->getRequest();
|
$request = Icinga::app()->getFrontController()->getRequest();
|
||||||
}
|
}
|
||||||
if ($sort = $request->getParam('sort')) {
|
if ($sort = $request->getParam('sort')) {
|
||||||
$this->query->order($sort, $request->getParam('dir', 'asc'));
|
$this->query->order($sort, $request->getParam('dir'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $this;
|
return $this;
|
||||||
|
|
Loading…
Reference in New Issue