From 55c832bde646076a81c4e415e2117bcbf1235d0e Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 20 Sep 2024 13:01:41 -0400 Subject: [PATCH] Feature: Inititial functionality for sort order icons on table headers --- clients.php | 19 ++++++++++++++++--- pagination_head.php | 9 +++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/clients.php b/clients.php index 49cc56d25..18d7df4b1 100644 --- a/clients.php +++ b/clients.php @@ -251,9 +251,22 @@ class="collapse mt-3 "> - - - + + + diff --git a/pagination_head.php b/pagination_head.php index 600b4cb3f..b92c013b4 100644 --- a/pagination_head.php +++ b/pagination_head.php @@ -41,6 +41,15 @@ } } +// Set the order Icon +if ($sort) { + if ($order == "ASC") { + $order_icon = ""; + } else { + $order_icon = ""; + } +} + // Search if (isset($_GET['q'])) { $q = sanitizeInput($_GET['q']);
Client NamePrimary Location Primary Contact + + Client Name + + + + Primary Location + + + + Primary Contact + + + Billing Action