From 04070ff67abd5372a25c511137c25687b9e127e9 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 2 Feb 2023 17:20:53 -0500 Subject: [PATCH] Fixed slow loading of contact details page with many tickets, removed the action column and the contact as the contact should be the contact you are viewing --- client_contact_details.php | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/client_contact_details.php b/client_contact_details.php index 24e61de7..b14377cf 100644 --- a/client_contact_details.php +++ b/client_contact_details.php @@ -29,11 +29,6 @@ if (isset($_GET['contact_id'])) { } else { $primary_contact_display = FALSE; } - if (empty($contact_name)) { - $contact_ticket_display = "-"; - } else { - $contact_ticket_display = "$contact_name
$contact_email"; - } $contact_location_id = $row['contact_location_id']; $location_name = htmlentities($row['location_name']); if (empty($location_name)) { @@ -476,7 +471,6 @@ if (isset($_GET['contact_id'])) { Assigned Last Response Created - Action @@ -487,7 +481,6 @@ if (isset($_GET['contact_id'])) { $ticket_prefix = htmlentities($row['ticket_prefix']); $ticket_number = htmlentities($row['ticket_number']); $ticket_subject = htmlentities($row['ticket_subject']); - $ticket_details = $row['ticket_details']; $ticket_priority = htmlentities($row['ticket_priority']); $ticket_status = htmlentities($row['ticket_status']); $ticket_created_at = $row['ticket_created_at']; @@ -536,33 +529,15 @@ if (isset($_GET['contact_id'])) { - - - - - - @@ -598,8 +573,6 @@ function updateContactNotes(contact_id) { notes: notes } ) - - }