Bugzilla – Attachment 112864 Details for
Bug 26900
Fixes Koka::Libraries typo in C4/Reserves.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26900: Fixes Koka::Libraries typo in C4/Reserves.pm
Bug-26900-Fixes-KokaLibraries-typo-in-C4Reservespm.patch (text/plain), 1.14 KB, created by
Blou
on 2020-11-02 19:25:31 UTC
(
hide
)
Description:
Bug 26900: Fixes Koka::Libraries typo in C4/Reserves.pm
Filename:
MIME Type:
Creator:
Blou
Created:
2020-11-02 19:25:31 UTC
Size:
1.14 KB
patch
obsolete
>From 64faeac4c1981136326ad9a43a1ecff64f5f130b Mon Sep 17 00:00:00 2001 >From: Blou <blou@inlibro.com> >Date: Mon, 2 Nov 2020 14:24:50 -0500 >Subject: [PATCH] Bug 26900: Fixes Koka::Libraries typo in C4/Reserves.pm > >Plain simple: > >my $home_library = Koka::Libraries->find( {branchcode => $item->homebranch} ); > >This patch replaces 'Koka' by 'Koha'. >--- > C4/Reserves.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index 0a38aa389e..8b7fafd8cf 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1315,7 +1315,7 @@ sub IsAvailableForItemLevelRequest { > GetReservesControlBranch( $item->unblessed(), $patron->unblessed() ); > my $branchitemrule = > C4::Circulation::GetBranchItemRule( $reserves_control_branch, $item->itype ); >- my $home_library = Koka::Libraries->find( {branchcode => $item->homebranch} ); >+ my $home_library = Koha::Libraries->find( {branchcode => $item->homebranch} ); > return 0 unless $branchitemrule->{hold_fulfillment_policy} ne 'holdgroup' || $home_library->validate_hold_sibling( {branchcode => $pickup_branchcode} ); > } > >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26900
:
112864
|
112870
|
112880