From d6dc21bc3c3f0a8fa66e66406544198b3268423c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 1 Feb 2016 13:13:10 +0000 Subject: [PATCH] Bug 15645: Remove the confusing wait var and use found instead Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 10 +++++----- reserve/request.pl | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 85f687ab84..b9c4fb9853 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -689,7 +689,7 @@ function checkMultiHold() { since [% reserveloo.waiting_date | $KohaDates %] @@ -776,7 +776,7 @@ function checkMultiHold() { [% END %] - [% IF ( reserveloo.wait ) %] + [% IF ( reserveloo.found ) %] [% IF ( reserveloo.barcodenumber ) %] [% reserveloo.barcodenumber %] @@ -824,7 +824,7 @@ function checkMultiHold() { [% IF SuspendHoldsIntranet %] - [% UNLESS ( reserveloo.wait ) %] + [% UNLESS ( reserveloo.found ) %] [% IF AutoResumeSuspendedHolds %] diff --git a/reserve/request.pl b/reserve/request.pl index 3b37cac0ae..2883d996ad 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -506,7 +506,6 @@ foreach my $biblionumber (@biblionumbers) { } if ( $res->is_found() ) { - $reserve{'wait'} = 1; $reserve{'holdingbranch'} = $res->item()->holdingbranch(); $reserve{'biblionumber'} = $res->item()->biblionumber(); $reserve{'barcodenumber'} = $res->item()->barcode(); -- 2.39.5