Hotfix: Catalog items without ink
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-05-12 14:22:29 +02:00
parent ac02f8b309
commit e6f7ef41b0
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ module.exports = Self => {
FROM tmp.ticketCalculateItem tci
JOIN vn.item i ON i.id = tci.itemFk
JOIN vn.itemType it ON it.id = i.typeFk
JOIN vn.ink ON ink.id = i.inkFk
JOIN vn.worker w on w.id = it.workerFk`);
JOIN vn.worker w on w.id = it.workerFk
LEFT JOIN vn.ink ON ink.id = i.inkFk`);
// Apply order by tag
if (orderBy.isTag) {