[open-ils-commits] r12365 - trunk/Open-ILS/src/perlmods/OpenILS/Application (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 2 21:19:03 EST 2009


Author: miker
Date: 2009-03-02 21:19:02 -0500 (Mon, 02 Mar 2009)
New Revision: 12365

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm
Log:
field is owning_lib, not owner

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm	2009-03-03 01:16:06 UTC (rev 12364)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm	2009-03-03 02:19:02 UTC (rev 12365)
@@ -1142,13 +1142,13 @@
 
         # see if we need to create a call number
     	my $cn = $cstore
-            ->request( 'open-ils.cstore.direct.asset.call_number.search' => { owner => $org->id, record => $recid, label => '##URI##' } )
+            ->request( 'open-ils.cstore.direct.asset.call_number.search' => { owning_lib => $org->id, record => $recid, label => '##URI##' } )
 			->gather(1);
 
         if (!$cn) {
             $cn = Fieldmapper::asset::call_number->new;
             $cn->isnew( 1 );
-            $cn->owner( $org->id );
+            $cn->owning_lib( $org->id );
             $cn->record( $recid );
             $cn->label( '##URI##' );
         }



More information about the open-ils-commits mailing list