From f1d36df558efc3aebc4f946861ed52a4a5a40f56 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 24 Sep 2020 15:00:00 +0200 Subject: [PATCH] #2458 - Removed states from pending tickets --- modules/ticket/back/methods/ticket/filter.js | 9 +++++++-- modules/ticket/front/index/index.html | 3 ++- modules/ticket/front/summary/index.js | 9 +++++++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/modules/ticket/back/methods/ticket/filter.js b/modules/ticket/back/methods/ticket/filter.js index 62ca149f0..6dbe52524 100644 --- a/modules/ticket/back/methods/ticket/filter.js +++ b/modules/ticket/back/methods/ticket/filter.js @@ -161,8 +161,13 @@ module.exports = Self => { if (value) { return {and: [ {'st.alertLevel': 0}, - {'st.code': {neq: 'OK'}}, - {'st.code': {neq: 'BOARDING'}} + {'st.code': {nin: [ + 'OK', + 'BOARDING', + 'PRINTED', + 'PRINTED_AUTO', + 'PICKER_DESIGNED' + ]}} ]}; } else { return {and: [ diff --git a/modules/ticket/front/index/index.html b/modules/ticket/front/index/index.html index 3e9809952..e9066a41b 100644 --- a/modules/ticket/front/index/index.html +++ b/modules/ticket/front/index/index.html @@ -161,7 +161,8 @@ + ticket="$ctrl.selectedTicket" + model="model">