mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Code deduplication/tidying
- Move default pagination/sort/search query variable mapping to pagination_head.php - Remove user_logs.php
This commit is contained in:
13
taxes.php
13
taxes.php
@@ -6,19 +6,6 @@ if(!empty($_GET['sb'])){
|
||||
$sb = "tax_name";
|
||||
}
|
||||
|
||||
if(isset($_GET['o'])){
|
||||
if($_GET['o'] == 'ASC'){
|
||||
$o = "ASC";
|
||||
$disp = "DESC";
|
||||
}else{
|
||||
$o = "DESC";
|
||||
$disp = "ASC";
|
||||
}
|
||||
}else{
|
||||
$o = "ASC";
|
||||
$disp = "DESC";
|
||||
}
|
||||
|
||||
//Rebuild URL
|
||||
$url_query_strings_sb = http_build_query(array_merge($_GET,array('sb' => $sb, 'o' => $o)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user