Wrap sort order. Fixes #450

This commit is contained in:
stevegilvarry 2014-06-29 22:09:59 +10:00
parent 8f4fb8bb64
commit 61cf067be0
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ switch ( $_REQUEST['task'] )
$limit = isset($_POST['limit'])?$_POST['limit']:100;
$filter = isset($_POST['filter'])?$_POST['filter']:array();
$sortField = isset($_POST['sortField'])?$_POST['sortField']:'TimeKey';
$sortOrder = isset($_POST['sortOrder']) and $_POST['sortOrder'] == 'asc' ? 'asc':'desc';
$sortOrder = (isset($_POST['sortOrder']) and $_POST['sortOrder']) == 'asc' ? 'asc':'desc';
$filterFields = array( 'Component', 'Pid', 'Level', 'File', 'Line' );