Followup a5438ff149
- Fixes #3334 - Trigger-conditions 'Tel' requires full phone number format for 'contains' match.
This commit is contained in:
parent
a5438ff149
commit
183df7c78a
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class App.UiElement.ticket_selector
|
||||||
# ignore passwords and relations
|
# ignore passwords and relations
|
||||||
if row.type isnt 'password' && row.name.substr(row.name.length-4,4) isnt '_ids' && row.searchable isnt false
|
if row.type isnt 'password' && row.name.substr(row.name.length-4,4) isnt '_ids' && row.searchable isnt false
|
||||||
config = _.clone(row)
|
config = _.clone(row)
|
||||||
if config.type is 'email'
|
if config.type is 'email' || config.type is 'tel'
|
||||||
config.type = 'text'
|
config.type = 'text'
|
||||||
for operatorRegEx, operator of operators_type
|
for operatorRegEx, operator of operators_type
|
||||||
myRegExp = new RegExp(operatorRegEx, 'i')
|
myRegExp = new RegExp(operatorRegEx, 'i')
|
||||||
|
|
Loading…
Reference in a new issue