Updated osticket report sql
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-10-04 09:07:47 +02:00
parent 8d9a6b7f44
commit 33754b7d67
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ SELECT * FROM (
AND ote.type = 'M' AND ote.type = 'M'
LEFT JOIN ost_thread_entry oter ON oth.id = oter.thread_id LEFT JOIN ost_thread_entry oter ON oth.id = oter.thread_id
AND oter.type = 'R' AND oter.type = 'R'
WHERE ot.ticket_pid = NULL WHERE ot.ticket_pid IS NULL
AND ots.state = 'closed' AND ots.state = 'closed'
AND ot.closed BETWEEN ? AND ? AND ot.closed BETWEEN ? AND ?
ORDER BY oter.created DESC ORDER BY oter.created DESC