Skip to content

Commit

Permalink
Fix Closed Tickets showing up under stale tickets in client Overview
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyq committed Apr 12, 2024
1 parent 237cc38 commit 4ad897d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions blank.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
?>
<br>

<dl>
<dt>Requester</dt>
<dd>Sam Adams</dd>

<dt>Created</dt>
<dd><time datetime="2024-04-11T17:52:30+00:00" title="2024-04-11 13:52" data-datetime="calendar">Today at 13:52</time></dd>

<dt>Last activity</dt>
<dd><time datetime="2024-04-11T18:08:55+00:00" title="2024-04-11 14:08" data-datetime="calendar">Today at 14:08</time></dd>
</dl>

<?php echo randomString(100); ?>
<br>

Expand Down
2 changes: 1 addition & 1 deletion client_overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"SELECT * FROM tickets
WHERE ticket_client_id = $client_id
AND ticket_updated_at < CURRENT_DATE - INTERVAL 3 DAY
AND ticket_status != 'Closed'
AND ticket_closed_at IS NULL
ORDER BY ticket_updated_at DESC"
);

Expand Down

0 comments on commit 4ad897d

Please sign in to comment.