mirror of https://github.com/itflow-org/itflow
Fix Default order by
This commit is contained in:
parent
606f3061d0
commit
c5c809791a
|
|
@ -24,15 +24,17 @@ if (isset($_GET['page'])) {
|
|||
$page = 1;
|
||||
}
|
||||
|
||||
// Order
|
||||
if (isset($_GET['order']) && $_GET['order'] == 'ASC') {
|
||||
$order = "ASC";
|
||||
$disp = "DESC";
|
||||
} else {
|
||||
}
|
||||
|
||||
if (isset($_GET['order']) && $_GET['order'] == 'DESC') {
|
||||
$order = "DESC";
|
||||
$disp = "ASC";
|
||||
}
|
||||
|
||||
// Order
|
||||
if(isset($order) && $order == "ASC") {
|
||||
$disp = "DESC";
|
||||
$order_icon = "<i class='fas fa-sort-down'></i>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue