From b9e6983643c10d1587e06197097c10b5e45dafdf Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 7 Jul 2014 17:30:02 +0000 Subject: [PATCH] Fix missing filter select options --- importexport/inc/class.importexport_widget_filter.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_widget_filter.inc.php b/importexport/inc/class.importexport_widget_filter.inc.php index 6ed48df554..bf44aaf5c2 100644 --- a/importexport/inc/class.importexport_widget_filter.inc.php +++ b/importexport/inc/class.importexport_widget_filter.inc.php @@ -141,7 +141,12 @@ class importexport_widget_filter extends etemplate_widget_transformer error_log('Trying to filter with unsupported field type: ' . $field['type']); } } - + + // Send select options + if($field['values']) + { + self::$request->sel_options[self::$prefix.$lname] = $field['values']; + } $widget = self::factory($type, '<'.$type.' type="'.$type.'" id="'.self::$prefix.$lname.'"/>', self::$prefix.$lname); if(method_exists($widget, 'beforeSendToClient')) {