|
Lines 524-530
sub CanItemBeReserved{
Link Here
|
| 524 |
# maximum number of holds allowed for this itemtype, |
524 |
# maximum number of holds allowed for this itemtype, |
| 525 |
# we need to check to see if *any* holds are allowed |
525 |
# we need to check to see if *any* holds are allowed |
| 526 |
# for this patron/itemtype as determined by the holds policy |
526 |
# for this patron/itemtype as determined by the holds policy |
| 527 |
my $holds_policy = GetBranchItemRule( |
527 |
my $holds_policy = C4::Circulation::GetBranchItemRule( |
| 528 |
$controlbranch eq "ItemHomeLibrary" |
528 |
$controlbranch eq "ItemHomeLibrary" |
| 529 |
? $item->{homebranch} |
529 |
? $item->{homebranch} |
| 530 |
: $borrower->{branchcode}, |
530 |
: $borrower->{branchcode}, |
| 531 |
- |
|
|