From: erickson Date: Fri, 11 Dec 2009 14:31:00 +0000 (+0000) Subject: fixed syntax errors X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bf93f220d5bf9b3481748d98e7b6ff40eec6b7e9;p=evergreen%2Fjoelewis.git fixed syntax errors git-svn-id: svn://svn.open-ils.org/ILS/trunk@15137 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 375d5982b5..71582f252f 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -1399,7 +1399,7 @@ sub reservation_targeter { $possible_resources = $bresv->target_resource; } - my $all_resources booking::resource->search( id => $possible_resources ); + my $all_resources = booking::resource->search( id => $possible_resources ); @$all_resources = grep { isTrue($_->type->transferable) || $_->owner.'' eq $bresv->pickup_lib.'' } @$all_resources; @@ -1475,7 +1475,7 @@ sub reservation_targeter { $prox_list = map { $_->[1] } - sort { $a->[0] <> $b->[0] } + sort { $a->[0] <=> $b->[0] } map { [ actor::org_unit_proximity->search_where( { from_org => $bresv->pickup_lib.'', to_org => $_=>owner.'' }