[open-ils-commits] r13208 - branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed May 20 15:56:51 EDT 2009


Author: erickson
Date: 2009-05-20 15:56:47 -0400 (Wed, 20 May 2009)
New Revision: 13208

Modified:
   branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
force undef fuflillment time filter on holds_by_title retrieval

Modified: branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2009-05-20 13:49:55 UTC (rev 13207)
+++ branches/rel_1_4/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2009-05-20 19:56:47 UTC (rev 13208)
@@ -1559,7 +1559,8 @@
 	$e->checkauth or return $e->event;
 	$e->allowed('VIEW_HOLD') or return $e->event;
 
-	$args ||= { fulfillment_time => undef };
+	$args ||= {};
+    $args->{fulfillment_time} = undef; #  we don't want to see old fulfilled holds
 	$args->{cancel_time} = undef;
 
 	my $resp = { volume_holds => [], copy_holds => [] };



More information about the open-ils-commits mailing list