Author: mcantelon
Date: Fri Feb 10 21:16:14 2012
New Revision: 10861
Log:
Fixed note types that should be RAD.
Modified:
trunk/lib/task/import/csvImportTask.class.php
Modified: trunk/lib/task/import/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvImportTask.class.php Fri Feb 10 20:44:27
2012 (r10860)
+++ trunk/lib/task/import/csvImportTask.class.php Fri Feb 10 21:16:14
2012 (r10861)
@@ -72,6 +72,7 @@
// Load taxonomies into variables to avoid use of magic numbers
$termData = QubitFlatfileImport::loadTermsFromTaxonomies(array(
QubitTaxonomy::NOTE_TYPE_ID => 'noteTypes',
+ QubitTaxonomy::RAD_NOTE_ID => 'radNoteTypes',
QubitTaxonomy::RAD_TITLE_NOTE_ID => 'titleNoteTypes',
QubitTaxonomy::MATERIAL_TYPE_ID => 'materialTypes',
QubitTaxonomy::COPYRIGHT_STATUS_ID => 'copyrightStatusTypes'
@@ -162,10 +163,10 @@
'typeId' => array_search('Language note', $termData['noteTypes'])
),
'radNoteConservation' => array(
- 'typeId' => array_search('Conservation note', $termData['noteTypes'])
+ 'typeId' => array_search('Conservation', $termData['radNoteTypes'])
),
'radNoteGeneral' => array(
- 'typeId' => array_search('General note', $termData['noteTypes'])
+ 'typeId' => array_search('General note', $termData['radNoteTypes'])
),
'radNoteSourceOfTitleProper' => array(
'typeId' => array_search('Source of title proper',
$termData['titleNoteTypes'])
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.