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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Mar 23 13:49:17 EDT 2010


Author: miker
Date: 2010-03-23 13:49:13 -0400 (Tue, 23 Mar 2010)
New Revision: 15941

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
typos in reservation logic

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2010-03-23 17:48:24 UTC (rev 15940)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2010-03-23 17:49:13 UTC (rev 15941)
@@ -1499,7 +1499,7 @@
                     next;
                 }
 
-                my $copy = [ asset::copy->search( deleted => f, barcode => $res->barcode )]->[0];
+                my $copy = [ asset::copy->search( deleted => 'f', barcode => $res->barcode )]->[0];
 
                 unless ($copy) {
                     push @good_resources, $res;
@@ -1567,7 +1567,7 @@
                     sort { $a->[0] <=> $b->[0] }
                     map  {
                         [   actor::org_unit_proximity->search_where(
-                                { from_org => $bresv->pickup_lib.'', to_org => $_=>owner.'' }
+                                { from_org => $bresv->pickup_lib.'', to_org => $_->owner.'' }
                             )->[0]->prox,
                             $_
                         ]



More information about the open-ils-commits mailing list