mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Add more reverse sort orders
This commit is contained in:
@@ -6,6 +6,12 @@ if(!empty($_GET['sb'])){
|
||||
$sb = "payment_date";
|
||||
}
|
||||
|
||||
// Reverse default sort
|
||||
if(!isset($_GET['o'])){
|
||||
$o = "DESC";
|
||||
$disp = "ASC";
|
||||
}
|
||||
|
||||
//Rebuild URL
|
||||
$url_query_strings_sb = http_build_query(array_merge($_GET,array('sb' => $sb, 'o' => $o)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user