renamed dmsTicket to ticketDms
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-05-01 19:34:08 +02:00
parent 599f6b467e
commit bad3200b21
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ module.exports = {
d.id, d.id,
d.created d.created
FROM ticket t FROM ticket t
JOIN dmsTicket dt ON dt.ticketFk = t.id JOIN ticketDms dt ON dt.ticketFk = t.id
JOIN dms d ON d.id = dt.dmsFk JOIN dms d ON d.id = dt.dmsFk
AND d.file LIKE '%.png' AND d.file LIKE '%.png'
WHERE t.id = ?`, [ticketFk]); WHERE t.id = ?`, [ticketFk]);