From 847870a45a2fd40d67711f14adcf26a3fe890684 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 20 Sep 2024 14:35:26 -0400 Subject: [PATCH] Fixed undefined sort var by using php isset function in the filter header, added sort order icons to tickets --- filter_header.php | 2 +- tickets.php | 50 ++++++++++++++++++++++++++++++++++++----------- 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/filter_header.php b/filter_header.php index 4fac5792a..69663b1b2 100644 --- a/filter_header.php +++ b/filter_header.php @@ -42,7 +42,7 @@ } // Set the order Icon -if ($sort) { +if (isset($sort)) { if ($order == "ASC") { $order_icon = ""; } else { diff --git a/tickets.php b/tickets.php index 53a7d9799..030df1833 100644 --- a/tickets.php +++ b/tickets.php @@ -312,27 +312,55 @@ class="collapse - Number + + + Ticket + - Subject / Tasks + + + Subject / Tasks + - Client / Contact + + + Client / Contact + + - Billable - + + + Billable + + - Priority + + + Priority + - Status - Assigned + + + Status + - Last Response + + + Assigned + - Created + + + Last Response + + + + + Created + -