Reserves not made at priority 0 if ReservesNeedReturns is switched on
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
5e1921e6af
commit
04fd34d948
1 changed files with 1 additions and 1 deletions
|
@ -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 ){
|
||||
|
|
Loading…
Reference in a new issue