mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
Add calendar ID to field mapping options
This commit is contained in:
parent
49acbabce2
commit
20b6a2f2ee
@ -15,7 +15,7 @@ class calendar_wizard_export_csv extends importexport_wizard_basic_export_csv
|
||||
parent::__construct();
|
||||
// Field mapping
|
||||
$bo = new calendar_tracking();
|
||||
$this->export_fields = $bo->field2label;
|
||||
$this->export_fields = array('id' => 'Calendar ID') + $bo->field2label;
|
||||
$custom = config::get_customfields('calendar', true);
|
||||
foreach($custom as $name => $data) {
|
||||
$this->export_fields['#'.$name] = $data['label'];
|
||||
|
@ -28,7 +28,7 @@ class calendar_wizard_import_csv extends importexport_wizard_basic_import_csv
|
||||
|
||||
// Field mapping
|
||||
$tracking = new calendar_tracking();
|
||||
$this->mapping_fields = $tracking->field2label;
|
||||
$this->mapping_fields = array('id' => 'Calendar ID') + $tracking->field2label;
|
||||
|
||||
// Actions
|
||||
$this->actions = array(
|
||||
|
Loading…
Reference in New Issue
Block a user