From: miker Date: Tue, 23 Mar 2010 17:48:24 +0000 (+0000) Subject: typos in reservation logic X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=44f36591eebb204441175b5b407da8daf3164f87;p=working%2FEvergreen.git typos in reservation logic git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@15940 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 2d28989720..4e1e06a575 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -1344,7 +1344,7 @@ sub reservation_targeter { 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; @@ -1415,7 +1415,7 @@ sub reservation_targeter { 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, $_ ]