diff --git a/modules/ticket/back/methods/ticket/filter.js b/modules/ticket/back/methods/ticket/filter.js index 774590353..7bf4cf4de 100644 --- a/modules/ticket/back/methods/ticket/filter.js +++ b/modules/ticket/back/methods/ticket/filter.js @@ -216,7 +216,8 @@ module.exports = Self => { (INDEX (ticketFk)) ENGINE = MEMORY SELECT id ticketFk, clientFk, warehouseFk, shipped - FROM tmp.filter`); + FROM tmp.filter + WHERE alertLevel = 0 OR alertLevel IS NULL`); stmts.push('CALL ticketGetProblems()'); stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.ticket'); diff --git a/modules/ticket/front/sale/index.html b/modules/ticket/front/sale/index.html index 4f9de3a36..97a68889d 100644 --- a/modules/ticket/front/sale/index.html +++ b/modules/ticket/front/sale/index.html @@ -85,7 +85,7 @@