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

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Dec 11 09:31:01 EST 2009


Author: erickson
Date: 2009-12-11 09:31:00 -0500 (Fri, 11 Dec 2009)
New Revision: 15137

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
fixed syntax errors

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2009-12-10 20:58:56 UTC (rev 15136)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm	2009-12-11 14:31:00 UTC (rev 15137)
@@ -1399,7 +1399,7 @@
 				$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 @@
 
 				$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.'' }



More information about the open-ils-commits mailing list