forked from extern/egroupware
added select-bool widget with options 0 => 'no',1 => 'yes'
--> can be used with nextmatch custom filter to filter by a boolean column
This commit is contained in:
parent
a47dab03a4
commit
90cba9cb0e
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user