From 2855b167a03b80babbcd4f263824d24481cc9600 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 22 Jun 2021 14:21:21 +0200 Subject: [PATCH] Revert "Bug 28503: Compare item homebranch to patron branch when hold policy set to 'from_home_library'" This reverts commit 6413921700f5b2929aff7de092dfb9d5523754df. --- C4/Reserves.pm | 2 +- .../prog/en/modules/admin/preferences/circulation.pref | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 0d8f4aac7e..0e20c77ae5 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -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}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref index 9742cd468c..d290cabfa4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -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" -- 2.39.5