Merge pull request #1718 from umarsheikh/add-integer-and-tree-select-in-conditions

fixes #1706, add integer and tree_select types to Triggers Management(New Trigger)…
This commit is contained in:
Muhammad Nuzaihan Bin Kamal Luddin 2018-01-31 15:55:01 +08:00 committed by GitHub
commit 52e34e82fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,10 @@ class App.UiElement.ticket_selector
'^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)'] '^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)']
'^date$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)'] '^date$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)']
'boolean$': ['is', 'is not'] 'boolean$': ['is', 'is not']
'integer$': ['is', 'is not']
'^radio$': ['is', 'is not'] '^radio$': ['is', 'is not']
'^select$': ['is', 'is not'] '^select$': ['is', 'is not']
'^tree_select$': ['is', 'is not']
'^input$': ['contains', 'contains not'] '^input$': ['contains', 'contains not']
'^richtext$': ['contains', 'contains not'] '^richtext$': ['contains', 'contains not']
'^textarea$': ['contains', 'contains not'] '^textarea$': ['contains', 'contains not']
@ -35,8 +37,10 @@ class App.UiElement.ticket_selector
'^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)', 'has changed'] '^timestamp$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)', 'has changed']
'^date$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)', 'has changed'] '^date$': ['before (absolute)', 'after (absolute)', 'before (relative)', 'after (relative)', 'within next (relative)', 'within last (relative)', 'has changed']
'boolean$': ['is', 'is not', 'has changed'] 'boolean$': ['is', 'is not', 'has changed']
'integer$': ['is', 'is not', 'has changed']
'^radio$': ['is', 'is not', 'has changed'] '^radio$': ['is', 'is not', 'has changed']
'^select$': ['is', 'is not', 'has changed'] '^select$': ['is', 'is not', 'has changed']
'^tree_select$': ['is', 'is not', 'has changed']
'^input$': ['contains', 'contains not', 'has changed'] '^input$': ['contains', 'contains not', 'has changed']
'^richtext$': ['contains', 'contains not', 'has changed'] '^richtext$': ['contains', 'contains not', 'has changed']
'^textarea$': ['contains', 'contains not', 'has changed'] '^textarea$': ['contains', 'contains not', 'has changed']