From b92163f0cb53c267f4403bef3bdfada6e71d3b24 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 23 Mar 2010 17:49:13 +0000 Subject: [PATCH] typos in reservation logic git-svn-id: svn://svn.open-ils.org/ILS/trunk@15941 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 33ba489fc3..a9fcaa24a5 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -1499,7 +1499,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; @@ -1567,7 +1567,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, $_ ] -- 2.11.0