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