Exclude All or Select... options from select filters

This commit is contained in:
Nathan Gray 2013-01-23 18:14:53 +00:00
parent e39fcab548
commit 6dde257d66

View File

@ -148,6 +148,10 @@ class filter_widget extends customfields_widget
$field['values'][$key] = $val;
}
}
// We don't want the 'All' or 'Select...' if it's there
unset($field['values']['']);
$input =& boetemplate::empty_cell($field['type'],$lname,array(
'sel_options' => $field['values'],
'size' => $field['rows'],