From: erickson Date: Wed, 20 May 2009 19:56:47 +0000 (+0000) Subject: force undef fuflillment time filter on holds_by_title retrieval X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=83d1447e52706c87cdb978545153fb10ee28a2e9;p=Evergreen.git force undef fuflillment time filter on holds_by_title retrieval git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@13208 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm index 1208dafd67..712de32b0c 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm @@ -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 => [] };