fix: refs #6610 quitar variable
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-03-11 12:12:02 +01:00
parent e7a6d0109c
commit 9910ae5c64
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ BEGIN
SELECT DISTINCT tl.originFk ticketFk
FROM ticketLog tl
JOIN (
SELECT MAX(tl.id)ids, tw.ticketFk
SELECT MAX(tl.id)ids
FROM ticket t
JOIN ticketLog tl ON tl.originFk = t.id
LEFT JOIN ticketWeekly tw ON tw.ticketFk =t.id