mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
select priority should map 0 to None, not empty
This commit is contained in:
parent
d5dfb4af1f
commit
435f726bf9
@ -1648,7 +1648,7 @@ class calendar_boupdate extends calendar_bo
|
||||
);
|
||||
|
||||
$pri = Array(
|
||||
0 => '',
|
||||
0 => lang('None'),
|
||||
1 => lang('Low'),
|
||||
2 => lang('Normal'),
|
||||
3 => lang('High')
|
||||
|
@ -356,7 +356,7 @@ class calendar_export_csv implements importexport_iface_export_plugin {
|
||||
protected function get_selects()
|
||||
{
|
||||
$this->selects['priority'] = Array(
|
||||
0 => '',
|
||||
0 => lang('None'),
|
||||
1 => lang('Low'),
|
||||
2 => lang('Normal'),
|
||||
3 => lang('High')
|
||||
@ -382,7 +382,7 @@ class calendar_export_csv implements importexport_iface_export_plugin {
|
||||
*/
|
||||
public function get_filter_fields(Array &$filters)
|
||||
{
|
||||
|
||||
|
||||
// Calendar SO doesn't support filtering by column, so we have to remove pretty much everything
|
||||
unset($filters['recur_date']);
|
||||
|
||||
|
@ -159,7 +159,7 @@ class calendar_import_csv implements importexport_iface_import_plugin {
|
||||
|
||||
$lookups = array(
|
||||
'priority' => Array(
|
||||
0 => '',
|
||||
0 => lang('None'),
|
||||
1 => lang('Low'),
|
||||
2 => lang('Normal'),
|
||||
3 => lang('High')
|
||||
|
@ -173,7 +173,7 @@ class calendar_uiviews extends calendar_ui
|
||||
'daywise' => True,
|
||||
);
|
||||
$this->holidays = $this->bo->read_holidays($this->year);
|
||||
|
||||
array_push($this->holidays, $this->bo->read_holidays($this->year+1));
|
||||
$this->check_owners_access();
|
||||
|
||||
if($GLOBALS['egw_info']['user']['preferences']['common']['enable_dragdrop'])
|
||||
|
@ -124,7 +124,7 @@ class select_widget
|
||||
break;
|
||||
|
||||
case 'select-priority':
|
||||
$cell['sel_options'] = array('','low','normal','high');
|
||||
$cell['sel_options'] = array('none','low','normal','high');
|
||||
break;
|
||||
|
||||
case 'select-bool': // equal to checkbox, can be used with nextmatch-customfilter to filter a boolean column
|
||||
|
Loading…
Reference in New Issue
Block a user