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:
Fridolin Somers 2021-06-22 14:21:21 +02:00
parent 925843d456
commit 2855b167a0
2 changed files with 2 additions and 2 deletions

View File

@ -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};

View File

@ -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"