From 183df7c78a5af0c79be15fdc7fd7f7199af8536b Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 15 Dec 2020 09:37:36 +0100 Subject: [PATCH] Followup a5438ff1496d35c5904cfaabcd1a195c75b5a4cd - Fixes #3334 - Trigger-conditions 'Tel' requires full phone number format for 'contains' match. --- .../app/controllers/_ui_element/ticket_selector.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee b/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee index bba0dedf6..ab430f335 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/ticket_selector.coffee @@ -92,7 +92,7 @@ class App.UiElement.ticket_selector # ignore passwords and relations if row.type isnt 'password' && row.name.substr(row.name.length-4,4) isnt '_ids' && row.searchable isnt false config = _.clone(row) - if config.type is 'email' + if config.type is 'email' || config.type is 'tel' config.type = 'text' for operatorRegEx, operator of operators_type myRegExp = new RegExp(operatorRegEx, 'i')