From ce1fc0446898796aec9d2c0516b67c1cd04f81b6 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Tue, 10 Sep 2024 19:14:47 +0100 Subject: [PATCH] Add resolved date to ticket export csv --- post/ticket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post/ticket.php b/post/ticket.php index cf141a5bc..f9260bd83 100644 --- a/post/ticket.php +++ b/post/ticket.php @@ -1738,8 +1738,8 @@ $sql = mysqli_query( $mysqli, - "SELECT * FROM tickets - LEFT JOIN ticket_statuses ON ticket_status = ticket_status_id + "SELECT * FROM tickets + LEFT JOIN ticket_statuses ON ticket_status = ticket_status_id WHERE ticket_client_id = $client_id ORDER BY ticket_number ASC" );