backporting 13208 (fulfilled holds with status -1). missed 1.4.0.5, but in case...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Jun 2009 14:02:29 +0000 (14:02 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Jun 2009 14:02:29 +0000 (14:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@13471 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm

index 1d9af60..3aef62d 100644 (file)
@@ -1559,7 +1559,8 @@ sub all_rec_holds {
        $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 => [] };