updated initial sorting order for some lists

This commit is contained in:
johnny@pittpc.com
2019-11-29 14:08:32 -05:00
parent cac8083279
commit 341f1c37a2
16 changed files with 41 additions and 30 deletions

View File

@@ -23,7 +23,7 @@
if(!empty($_GET['sb'])){
$sb = mysqli_real_escape_string($mysqli,$_GET['sb']);
}else{
$sb = "account_id";
$sb = "account_name";
}
if(isset($_GET['o'])){
@@ -35,8 +35,8 @@
$disp = "ASC";
}
}else{
$o = "DESC";
$disp = "ASC";
$o = "ASC";
$disp = "DESC";
}
$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM accounts