refs #5890 fix: getTickets #1852

Merged
sergiodt merged 4 commits from 5890_collection_getTickets into dev 2023-11-23 11:23:15 +00:00
1 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ module.exports = Self => {
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
GROUP BY s.id, ish.id, p.code, p2.code
ORDER BY pickingOrder;`, [id], myOptions);
if (print)