[open-ils-commits] r11405 - trunk/Open-ILS/src/perlmods/OpenILS/Application
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 4 15:03:55 EST 2008
Author: erickson
Date: 2008-12-04 15:03:51 -0500 (Thu, 04 Dec 2008)
New Revision: 11405
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm
Log:
pass imported record ID to ingest instead of queued record id
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm 2008-12-04 18:13:54 UTC (rev 11404)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm 2008-12-04 20:03:51 UTC (rev 11405)
@@ -587,7 +587,7 @@
}
$e->commit;
- push @ingest_queue, { req => $ingest_ses->request('open-ils.ingest.full.biblio.record', $rec_id), rec_id => $rec_id };
+ push @ingest_queue, { req => $ingest_ses->request('open-ils.ingest.full.biblio.record', $record->id), rec_id => $record->id };
} else { # authority
@@ -631,7 +631,7 @@
}
$e->commit;
- push @ingest_queue, { req => $ingest_ses->request('open-ils.ingest.full.authority.record', $rec_id), rec_id => $rec_id };
+ push @ingest_queue, { req => $ingest_ses->request('open-ils.ingest.full.authority.record', $record->id), rec_id => $record->id };
}
$conn->respond({total => $total, progress => $count, imported => $rec_id}) if (++$count % 10) == 0;
More information about the open-ils-commits
mailing list