Revert "SortBox::handleRequest(): set query order direction to asc if it's not given"

This reverts commit 59753acece.
This commit is contained in:
Johannes Meyer 2015-05-15 10:56:33 +02:00
parent 386d4db851
commit ad8903660d
1 changed files with 1 additions and 1 deletions

View File

@ -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;