Reserves not made at priority 0 if ReservesNeedReturns is switched on

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2007-12-23 19:20:52 -06:00 committed by Joshua Ferraro
parent 5e1921e6af
commit 04fd34d948

View file

@ -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 ){