diff --git a/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/eprint_fields.pl b/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/eprint_fields.pl index 4e5e374..8920a7a 100755 --- a/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/eprint_fields.pl +++ b/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/eprint_fields.pl @@ -287,5 +287,209 @@ ], 'name' => 'copyright_confirmed', 'type' => 'set' - } + }, +# NJS 2008-07-21: Restored standard EPrints 3 fields that were removed by +# the v2->v3 migration script. + { + 'name' => 'completion_time', + 'type' => 'text', + }, + + { + 'name' => 'composition_type', + 'type' => 'text', + }, + + { + 'name' => 'data_type', + 'type' => 'text', + }, + + { + 'name' => 'learning_level', + 'type' => 'text', + }, + + { + 'name' => 'num_pieces', + 'type' => 'int', + }, + + { + 'name' => 'output_media', + 'type' => 'text', + }, + + { + 'name' => 'pedagogic_type', + 'type' => 'set', + 'options' => [ + 'presentation', + 'activity', + 'case', + 'enquiry', + 'problem', + 'collaboration', + 'communication', + ], + }, + + { + 'name' => 'task_purpose', + 'type' => 'longtext', + }, + + { + 'name' => 'accompaniment', + 'type' => 'text', + 'multiple' => 1, + 'input_boxes' => 1, + }, + + { + 'name' => 'conductors', + 'type' => 'compound', + 'multiple' => 1, + 'fields' => [ + { + 'sub_name' => 'name', + 'type' => 'name', + 'hide_honourific' => 1, + 'hide_lineage' => 1, + 'family_first' => 1, + }, + { + 'sub_name' => 'id', + 'type' => 'text', + 'input_cols' => 20, + 'allow_null' => 1, + } + ], + 'input_boxes' => 1, + }, + + { + 'name' => 'copyright_holders', + 'type' => 'text', + 'multiple' => 1, + 'input_boxes' => 1, + }, + + { + 'name' => 'corp_creators', + 'type' => 'text', + 'multiple' => 1, + }, + + { + 'name' => 'exhibitors', + 'type' => 'compound', + 'multiple' => 1, + 'fields' => [ + { + 'sub_name' => 'name', + 'type' => 'name', + 'hide_honourific' => 1, + 'hide_lineage' => 1, + 'family_first' => 1, + }, + { + 'sub_name' => 'id', + 'type' => 'text', + 'input_cols' => 20, + 'allow_null' => 1, + } + ], + 'input_boxes' => 2, + }, + + { + 'name' => 'funders', + 'type' => 'text', + 'multiple' => 1, + 'input_boxes' => 1, + }, + + { + 'name' => 'lyricists', + 'type' => 'compound', + 'multiple' => 1, + 'fields' => [ + { + 'sub_name' => 'name', + 'type' => 'name', + 'hide_honourific' => 1, + 'hide_lineage' => 1, + 'family_first' => 1, + }, + { + 'sub_name' => 'id', + 'type' => 'text', + 'input_cols' => 20, + 'allow_null' => 1, + } + ], + 'input_boxes' => 1, + }, + + { + 'name' => 'producers', + 'type' => 'compound', + 'multiple' => 1, + 'fields' => [ + { + 'sub_name' => 'name', + 'type' => 'name', + 'hide_honourific' => 1, + 'hide_lineage' => 1, + 'family_first' => 1, + }, + { + 'sub_name' => 'id', + 'type' => 'text', + 'input_cols' => 20, + 'allow_null' => 1, + } + ], + 'input_boxes' => 1, + }, + + { + 'name' => 'projects', + 'type' => 'text', + 'multiple' => 1, + 'input_boxes' => 1, + }, + + { + 'name' => 'related_url', + 'type' => 'compound', + 'multiple' => 1, + 'fields' => [ + { + 'sub_name' => 'url', + 'type' => 'url', + 'input_cols' => 40, + }, + { + 'sub_name' => 'type', + 'type' => 'set', + 'options' => [ + 'pub', + 'author', + 'org', + ], + } + ], + 'input_boxes' => 1, + 'input_ordered' => 0, + }, + + { + 'name' => 'skill_areas', + 'type' => 'text', + 'multiple' => 1, + 'input_boxes' => 1, + }, + ];