Revert "Bug 28503: Compare item homebranch to patron branch when hold policy set to 'from_home_library'"
This reverts commit 6413921700.
This commit is contained in:
parent
925843d456
commit
2855b167a0
|
|
@ -894,7 +894,7 @@ sub CheckReserves {
|
|||
my $branch = GetReservesControlBranch( $item->unblessed, $patron->unblessed );
|
||||
my $branchitemrule = C4::Circulation::GetBranchItemRule($branch,$item->effective_itemtype);
|
||||
next if ($branchitemrule->{'holdallowed'} == 0);
|
||||
next if (($branchitemrule->{'holdallowed'} == 1) && ($item->homebranch ne $patron->branchcode));
|
||||
next if (($branchitemrule->{'holdallowed'} == 1) && ($branch ne $patron->branchcode));
|
||||
my $library = Koha::Libraries->find({branchcode=>$item->homebranch});
|
||||
next if (($branchitemrule->{'holdallowed'} == 3) && (!$library->validate_hold_sibling({branchcode => $patron->branchcode}) ));
|
||||
my $hold_fulfillment_policy = $branchitemrule->{hold_fulfillment_policy};
|
||||
|
|
|
|||
|
|
@ -716,7 +716,7 @@ Circulation:
|
|||
class: integer
|
||||
- days from now) at checkin time. Note that this number of days will be used too in calculating the default end date for the Holds to pull-report. But it does not interfere with issuing, renewing or transferring items.
|
||||
-
|
||||
- Check the rule from the
|
||||
- Check the
|
||||
- pref: ReservesControlBranch
|
||||
choices:
|
||||
ItemHomeLibrary: "item's home library"
|
||||
|
|
|
|||
Loading…
Reference in New Issue