From 74da7fa014c82b27d910287675314d3241059720 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 5 Apr 2022 08:09:50 +0100 Subject: [PATCH] Fixes #4046 - Core Workflow - Unable to select "has changed" logic when creating new workflow. It is also replaced with "is" in previously created workflows. --- .../_ui_element/core_workflow_condition.coffee | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_ui_element/core_workflow_condition.coffee b/app/assets/javascripts/app/controllers/_ui_element/core_workflow_condition.coffee index 22263237e..c6f8e3dc6 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/core_workflow_condition.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/core_workflow_condition.coffee @@ -50,16 +50,16 @@ class App.UiElement.core_workflow_condition extends App.UiElement.ApplicationSel operatorsType = 'active$': [__('is')] - 'boolean$': [__('is'), __('is not'), __('is set'), __('not set'), _('has changed'), __('changed to')] - 'integer$': [__('is'), __('is not'), __('is set'), __('not set'), _('has changed'), __('changed to')] - '^select$': [__('is'), __('is not'), __('is set'), __('not set'), _('has changed'), __('changed to')] + 'boolean$': [__('is'), __('is not'), __('is set'), __('not set'), __('has changed'), __('changed to')] + 'integer$': [__('is'), __('is not'), __('is set'), __('not set'), __('has changed'), __('changed to')] + '^select$': [__('is'), __('is not'), __('is set'), __('not set'), __('has changed'), __('changed to')] '^multiselect$': [__('contains'), __('contains not'), __('contains all'), __('contains all not'), __('is set'), __('not set'), __('has changed'), __('changed to')] - '^tree_select$': [__('is'), __('is not'), __('is set'), __('not set'), _('has changed'), __('changed to')] - '^(input|textarea|richtext)$': [__('is'), __('is not'), __('is set'), __('not set'), _('has changed'), __('changed to'), __('regex match'), __('regex mismatch')] + '^tree_select$': [__('is'), __('is not'), __('is set'), __('not set'), __('has changed'), __('changed to')] + '^(input|textarea|richtext)$': [__('is'), __('is not'), __('is set'), __('not set'), __('has changed'), __('changed to'), __('regex match'), __('regex mismatch')] operatorsName = - '_id$': [__('is'), __('is not'), __('is set'), __('not set'), _('has changed'), __('changed to')] - '_ids$': [__('is'), __('is not'), __('is set'), __('not set'), _('has changed'), __('changed to')] + '_id$': [__('is'), __('is not'), __('is set'), __('not set'), __('has changed'), __('changed to')] + '_ids$': [__('is'), __('is not'), __('is set'), __('not set'), __('has changed'), __('changed to')] # merge config elements = {}