diff --git a/etemplate/inc/class.select_widget.inc.php b/etemplate/inc/class.select_widget.inc.php index 2ef63fcb07..fe53ec3c63 100644 --- a/etemplate/inc/class.select_widget.inc.php +++ b/etemplate/inc/class.select_widget.inc.php @@ -48,6 +48,7 @@ class select_widget 'select-number' => 'Select Number', 'select-app' => 'Select Application', 'select-lang' => 'Select Language', + 'select-bool' => 'Select yes or no', ); /** * @var array @@ -125,6 +126,10 @@ class select_widget $cell['sel_options'] = array('','low','normal','high'); break; + case 'select-bool': // equal to checkbox, can be used with nextmatch-customfilter to filter a boolean column + $cell['sel_options'] = array(0 => 'no',1 => 'yes'); + break; + case 'select-access': $cell['sel_options'] = array( 'private' => 'Private',