From 242f7785e699c6d9a51989cc8023fc267d189245 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 10 May 2016 14:00:34 +0000 Subject: [PATCH] Add the "filter" attribute into the details form of the TriggerOnThresholdReached class. SVN:trunk[4043] --- core/trigger.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trigger.class.inc.php b/core/trigger.class.inc.php index 4c77ee6e24..eb5b5dba11 100644 --- a/core/trigger.class.inc.php +++ b/core/trigger.class.inc.php @@ -383,7 +383,7 @@ class TriggerOnThresholdReached extends TriggerOnObject MetaModel::Init_AddAttribute(new AttributeString("threshold_index", array("allowed_values"=>null, "sql"=>"threshold_index", "default_value"=>null, "is_null_allowed"=>false, "depends_on"=>array()))); // Display lists - MetaModel::Init_SetZListItems('details', array('description', 'target_class', 'stop_watch_code', 'threshold_index', 'action_list')); // Attributes to be displayed for the complete details + MetaModel::Init_SetZListItems('details', array('description', 'target_class', 'stop_watch_code', 'threshold_index', 'filter', 'action_list')); // Attributes to be displayed for the complete details MetaModel::Init_SetZListItems('list', array('target_class', 'threshold_index', 'threshold_index')); // Attributes to be displayed for a list // Search criteria MetaModel::Init_SetZListItems('standard_search', array('description', 'target_class')); // Criteria of the std search form