From: Kyle M Hall Date: Fri, 22 Jan 2016 16:36:26 +0000 (+0000) Subject: Bug 15645 - In transit holds do not show as in transit on request.pl X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=ff0843dca0cb3883a5ce51846baca2905a7ef3b1;p=koha.git Bug 15645 - In transit holds do not show as in transit on request.pl A hold in transit will simply appear as an unfilled hold! Test Plan: 1) Place a hold for pickup at a different location 2) Capture that hold for a patron 3) Note you do not see the in transit status on request.pl 4) Apply this patch 5) Refresh the page 6) The hold should now show as in transit! Followed test plan, works as expected. Signed-off-by: Marc VĂ©ron Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- diff --git a/reserve/request.pl b/reserve/request.pl index dfdd6e17ee..3b37cac0ae 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -551,7 +551,6 @@ foreach my $biblionumber (@biblionumbers) { $reserve{'firstname'} = $res->borrower()->firstname(); $reserve{'surname'} = $res->borrower()->surname(); $reserve{'notes'} = $res->reservenotes(); - $reserve{'wait'} = $res->is_waiting(); $reserve{'waiting_date'} = $res->waitingdate(); $reserve{'waiting_until'} = $res->is_waiting() ? $res->waiting_expires_on() : undef; $reserve{'ccode'} = $res->item() ? $res->item()->ccode() : undef;