refs #6106 hotFix: getTickets #2449

Merged
sergiodt merged 1 commits from 6106_getTickets into master 2024-05-14 09:25:55 +00:00
1 changed files with 0 additions and 4 deletions

View File

@ -87,10 +87,6 @@ module.exports = Self => {
const where = filter.where;
where['r.id'] = filter.id;
where.and = [{or: [
{'t.packages': {gt: 0}},
{and: [{'ot.code': 'delivery'}, {'tob.observationTypeFk': {neq: null}}]}
]}];
stmt.merge(conn.makeWhere(filter.where));
stmt.merge(conn.makeGroupBy('t.id'));