refs #5890 fix: getTickets
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2023-11-22 07:04:33 +01:00
parent f9382a1c22
commit 707173d618
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ module.exports = Self => {
LEFT JOIN parking p ON p.id = sh.parkingFk
LEFT JOIN itemColor ic ON ic.itemFk = s.itemFk
LEFT JOIN origin o ON o.id = i.originFk
WHERE tc.collectionFk = ?
GROUP BY ish.id, p.code, p2.code
WHERE tc.collectionFk = ? AND iss.quantity IS NOT NULL
GROUP BY s.id, ish.id, p.code, p2.code
ORDER BY pickingOrder;`, [id], myOptions);
if (print)