fix: hotFix backLimit refs #6964 #3003

Merged
sergiodt merged 1 commits from 6964-ListItemNewer into master 2024-09-24 05:17:03 +00:00
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@ module.exports = Self => {
FROM tItemShelving ti FROM tItemShelving ti
JOIN tItemInSector tis ON tis.itemFk = ti.itemFk JOIN tItemInSector tis ON tis.itemFk = ti.itemFk
JOIN vn.productionConfig pc JOIN vn.productionConfig pc
WHERE ti.created + INTERVAL pc.itemOlderReviewHours HOUR < tis.created WHERE ti.created + INTERVAL pc.itemOlderReviewHours HOUR < tis.created;`,
LIMIT 10;`,
[shelvingFk, shelvingFk], myOptions); [shelvingFk, shelvingFk], myOptions);
return result; return result;
}; };