From 61c94d3d3624307c03b809a3c434ff742db869b4 Mon Sep 17 00:00:00 2001
From: Daniel Voelskow <daniel.voelskow@interface-projects.de>
Date: Tue, 5 May 2020 12:21:35 +0200
Subject: [PATCH] Fixes #1236 Workflows problem with Documents module "has
 changed to" filter condition

---
 modules/Settings/Workflows/models/Field.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Settings/Workflows/models/Field.php b/modules/Settings/Workflows/models/Field.php
index 89c700815..7b4a725dd 100644
--- a/modules/Settings/Workflows/models/Field.php
+++ b/modules/Settings/Workflows/models/Field.php
@@ -61,7 +61,7 @@ class Settings_Workflows_Field_Model extends Vtiger_Field_Model {
 	 */
 	public static function getAdvancedFilterOpsByFieldType() {
 		return array(
-			'string' => array('is', 'is not', 'contains', 'does not contain', 'starts with', 'ends with', 'has changed', 'is empty', 'is not empty'),
+			'string' => array('is', 'is not', 'contains', 'does not contain', 'starts with', 'ends with', 'has changed', 'has changed to', 'has changed from', 'is empty', 'is not empty'),
 			'salutation' => array('is', 'is not', 'contains', 'does not contain', 'starts with', 'ends with', 'has changed', 'is empty', 'is not empty'),
 			'text' => array('is', 'is not', 'contains', 'does not contain', 'starts with', 'ends with', 'has changed', 'is empty', 'is not empty'),
 			'url' => array('is', 'is not', 'contains', 'does not contain', 'starts with', 'ends with', 'has changed', 'is empty', 'is not empty'),
-- 
GitLab