[open-ils-commits] r13209 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed May 20 15:58:10 EDT 2009


Author: erickson
Date: 2009-05-20 15:58:06 -0400 (Wed, 20 May 2009)
New Revision: 13209

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
forward-porting 13208: force undef fuflillment time filter on holds_by_title retrieval

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2009-05-20 19:56:47 UTC (rev 13208)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm	2009-05-20 19:58:06 UTC (rev 13209)
@@ -1676,7 +1676,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 => [], metarecord_holds => [] };



More information about the open-ils-commits mailing list