Bugzilla – Attachment 112880 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.24 KB, created by
Katrin Fischer
on 2020-11-02 21:46:20 UTC
(
hide
)
Description:
Bug 26900: Fixes Koka::Libraries typo in C4/Reserves.pm
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-11-02 21:46:20 UTC
Size:
1.24 KB
patch
obsolete
>From b196fcb0b6161e342cb121e15921a4b6440ffba3 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'. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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.11.0
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