Lines 269-279
foreach my $biblionumber (@biblionumbers) {
Link Here
|
269 |
{ # alreadypossession |
269 |
{ # alreadypossession |
270 |
# Check to see if patron is allowed to place holds on records where the |
270 |
# Check to see if patron is allowed to place holds on records where the |
271 |
# patron already has an item from that record checked out |
271 |
# patron already has an item from that record checked out |
272 |
my $alreadypossession; |
|
|
273 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
272 |
if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') |
274 |
&& CheckIfIssuedToPatron( $patron->borrowernumber, $biblionumber ) ) |
273 |
&& CheckIfIssuedToPatron( $patron->borrowernumber, $biblionumber ) ) |
275 |
{ |
274 |
{ |
276 |
$template->param( alreadypossession => $alreadypossession, ); |
275 |
$template->param( alreadypossession => 1, ); |
277 |
} |
276 |
} |
278 |
} |
277 |
} |
279 |
} |
278 |
} |
280 |
- |
|
|