Lines 70-82
foreach my $bibnum (@biblionumbers) {
Link Here
|
70 |
|
70 |
|
71 |
my @found; |
71 |
my @found; |
72 |
|
72 |
|
73 |
foreach my $checkitem (@checkitems) { |
73 |
unless (C4::Context->preference('ReservesNeedReturns')) { |
74 |
# if we have an item selectionned, and the pickup branch is the same as the holdingbranch |
74 |
foreach my $checkitem (@checkitems) { |
75 |
# of the document, we force the value $rank and $found . |
75 |
# if we have an item selectionned, and the pickup branch is the same as |
76 |
$rank[0] = '0' unless C4::Context->preference('ReservesNeedReturns'); |
76 |
# the holdingbranch of the document, we force the value $rank and $found |
77 |
my $item = GetItem($checkitem); |
77 |
$rank[0] = 0; |
78 |
if ( $item->{'holdingbranch'} eq $branch ){ |
78 |
my $item = GetItem($checkitem); |
79 |
push @found, 'W' unless C4::Context->preference('ReservesNeedReturns'); |
79 |
push @found, $item->{holdingbranch} eq $branch ? 'W' : undef; |
80 |
} |
80 |
} |
81 |
} |
81 |
} |
82 |
|
82 |
|
83 |
- |
|
|