Author: mcantelon
Date: Fri Dec 30 11:45:52 2011
New Revision: 10488
Log:
Updated mapping in CSV import script for another few columns to reflect latest
Pentaho export.
Modified:
trunk/lib/task/csvImportTask.class.php
Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php Fri Dec 30 11:30:37 2011
(r10487)
+++ trunk/lib/task/csvImportTask.class.php Fri Dec 30 11:45:52 2011
(r10488)
@@ -75,7 +75,7 @@
'ignoreColumns' => array(),
'columnMap' => array(
'title' => 'title',
- 'Accruals' => 'accruals',
+ 'accruals' => 'accruals',
'RECORD_ID' => array(
'column' => 'sources',
'transformationLogic' => function(&$self, $text)
@@ -124,7 +124,7 @@
'titleProperOfPublishersSeries' => 'titleProperOfPublishersSeries'
),
'noteMap' => array(
- 'Rad note – conservation' => array('typeId' => 231),
+ 'radNoteConservation' => array('typeId' => 231),
'OLD PHOTO NO' => array(
'typeId' => 247,
'transformationLogic' => function(&$self, $text) {
@@ -187,12 +187,12 @@
$self->rowStatusVars['creatorHistory'] = $data;
});
- $import->addColumnHandler('START YEAR', function(&$self, $data)
+ $import->addColumnHandler('creationDatesStart', function(&$self, $data)
{
$self->rowStatusVars['startYear'] = $data;
});
- $import->addColumnHandler('END YEAR', function(&$self, $data)
+ $import->addColumnHandler('datesOfCreationEnd', function(&$self, $data)
{
$self->rowStatusVars['endYear'] = $data;
});
--
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.