mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Fix Default order by
This commit is contained in:
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user