From 91f9be104062811fcf6eb38bd290455e919ae2d3 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 --- koha-tmpl/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 5e6230a..3840bc3 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 3b37cac..2883d99 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.1.0