From 594268183bcd4201de2e20de9bff0f66533c4602 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Ruiz Date: Thu, 20 Jun 2019 14:35:47 +0200 Subject: [PATCH] #1517 ticket.index --- modules/ticket/back/methods/ticket/filter.js | 3 ++- modules/ticket/front/sale/index.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 @@