added pending
This commit is contained in:
@@ -25,8 +25,8 @@ class DashboardController {
|
||||
if (isset($_GET['status']) && !empty($_GET['status'])) {
|
||||
$status = $_GET['status'];
|
||||
} else if (!isset($_GET['show_all'])) {
|
||||
// Default: show Open and In Progress (exclude Closed)
|
||||
$status = 'Open,In Progress';
|
||||
// Default: show Open, Pending, and In Progress (exclude Closed)
|
||||
$status = 'Open,Pending,In Progress';
|
||||
}
|
||||
// If $_GET['show_all'] exists or no status param with show_all, show all tickets (status = null)
|
||||
|
||||
|
||||
@@ -109,8 +109,8 @@
|
||||
<div class="filter-group">
|
||||
<h4>Status</h4>
|
||||
<?php
|
||||
$currentStatus = isset($_GET['status']) ? explode(',', $_GET['status']) : ['Open', 'In Progress'];
|
||||
$allStatuses = ['Open', 'In Progress', 'Closed'];
|
||||
$currentStatus = isset($_GET['status']) ? explode(',', $_GET['status']) : ['Open', 'Pending', 'In Progress'];
|
||||
$allStatuses = ['Open', 'Pending', 'In Progress', 'Closed'];
|
||||
foreach ($allStatuses as $status):
|
||||
?>
|
||||
<label>
|
||||
|
||||
Reference in New Issue
Block a user