[open-ils-commits] r1055 - conifer/branches/rel_1_6_1/src/perlmods/OpenILS/Application (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 26 22:35:08 EDT 2010
Author: dbs
Date: 2010-10-26 22:35:06 -0400 (Tue, 26 Oct 2010)
New Revision: 1055
Modified:
conifer/branches/rel_1_6_1/src/perlmods/OpenILS/Application/Ingest.pm
Log:
Apply fix for URI ingest from r18482
Modified: conifer/branches/rel_1_6_1/src/perlmods/OpenILS/Application/Ingest.pm
===================================================================
--- conifer/branches/rel_1_6_1/src/perlmods/OpenILS/Application/Ingest.pm 2010-10-26 18:38:25 UTC (rev 1054)
+++ conifer/branches/rel_1_6_1/src/perlmods/OpenILS/Application/Ingest.pm 2010-10-27 02:35:06 UTC (rev 1055)
@@ -419,8 +419,8 @@
}
if (!$max_uri) {
- my $cn = $cstore->request( 'open-ils.cstore.direct.asset.call_number.search' => { id => { '!=' => undef } }, { limit => 1, order_by => { acn => 'id desc' } } )->gather(1);
- $max_uri = int($cn->id) + 1000;
+ my $uri = $cstore->request( 'open-ils.cstore.direct.asset.uri.search' => { id => { '!=' => undef } }, { limit => 1, order_by => { auri => 'id desc' } } )->gather(1);
+ $max_uri = int($uri->id) + 1000;
}
$cstore->disconnect;
More information about the open-ils-commits
mailing list