Bugzilla – Attachment 12625 Details for
Bug 5801
C4::Circulation::_GetCircControlBranch should not be used in opac-reserve.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5801 - C4::Circulation::_GetCircControlBranch doesn't work in opac-reserve.pl
Bug-5801---C4CirculationGetCircControlBranch-doesn.patch (text/plain), 1.07 KB, created by
Kyle M Hall (khall)
on 2012-10-01 19:16:35 UTC
(
hide
)
Description:
Bug 5801 - C4::Circulation::_GetCircControlBranch doesn't work in opac-reserve.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-10-01 19:16:35 UTC
Size:
1.07 KB
patch
obsolete
>From 893aa08efe03ed8c2ab6e43ae7bf33855fbf9f54 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 1 Oct 2012 15:16:29 -0400 >Subject: [PATCH] Bug 5801 - C4::Circulation::_GetCircControlBranch doesn't work in opac-reserve.pl >Content-Type: text/plain; charset="utf-8" > >--- > opac/opac-reserve.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index bb23752..fbc9dd7 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -490,7 +490,7 @@ foreach my $biblioNum (@biblionumbers) { > # If there is no loan, return and transfer, we show a checkbox. > $itemLoopIter->{notforloan} = $itemLoopIter->{notforloan} || 0; > >- my $branch = C4::Circulation::_GetCircControlBranch($itemLoopIter, $borr); >+ my $branch = ( C4::Context->preference('ReservesControlBranch') eq 'ItemHomeLibrary' ) ? $itemInfo->{'homebranch'} : $borr->{'branchcode'}; > > my $branchitemrule = GetBranchItemRule( $branch, $itemInfo->{'itype'} ); > my $policy_holdallowed = 1; >-- >1.7.2.5
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 5801
:
12625
|
13718
|
13755