From 04fd34d94818d29a6fda8ce0079e561d942ed382 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 23 Dec 2007 19:20:52 -0600 Subject: [PATCH] Reserves not made at priority 0 if ReservesNeedReturns is switched on Signed-off-by: Joshua Ferraro --- opac/opac-reserve.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 886a1ea59b..2c3bb1551f 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -206,7 +206,7 @@ if ( $query->param('place_reserve') ) { #if we have an item selectionned, and the pickup branch is the same as the holdingbranch of the document, we force the value $rank and $found. if ($checkitem ne ''){ - $rank = '0'; + $rank = '0' unless C4::Context->preference('ReservesNeedReturns') my $item = $checkitem; $item = GetItem($item); if ( $item->{'holdingbranch'} eq $branch ){ -- 2.39.5