From 0fc8b3dbb0caa2e4e6d4c825a24c21cfb4fae3c2 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 20 May 2009 19:58:06 +0000 Subject: [PATCH] forward-porting 13208: force undef fuflillment time filter on holds_by_title retrieval git-svn-id: svn://svn.open-ils.org/ILS/trunk@13209 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm index b777ec459..ed498aada 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm @@ -1676,7 +1676,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 => [], metarecord_holds => [] }; -- 2.11.0