Bugzilla – Attachment 7811 Details for
Bug 7581
Holds not working in OPAC in singlebranchmode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Singlebranchmode was always 0 causing the branch to be null and the reservations in the OPAC not to work in singlebranchmode.
0001-Singlebranchmode-was-always-0-causing-the-branch-to-.patch (text/plain), 1.02 KB, created by
Maxime Pelletier
on 2012-02-22 17:10:52 UTC
(
hide
)
Description:
Singlebranchmode was always 0 causing the branch to be null and the reservations in the OPAC not to work in singlebranchmode.
Filename:
MIME Type:
Creator:
Maxime Pelletier
Created:
2012-02-22 17:10:52 UTC
Size:
1.02 KB
patch
obsolete
>From 429ae244b25ec06498a0ad998296f9583b77f562 Mon Sep 17 00:00:00 2001 >From: Maxime Pelletier <maxime.pelletier@libeo.com> >Date: Wed, 22 Feb 2012 12:00:28 -0500 >Subject: [PATCH] Singlebranchmode was always 0 causing the branch to be null and the reservations in the OPAC not to work in singlebranchmode. > >--- > 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 2713cf3..dde59dd 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -197,7 +197,7 @@ if ( $query->param('place_reserve') ) { > my $itemNum = shift(@selectedItems); > my $branch = shift(@selectedItems); # i.e., branch code, not name > >- my $singleBranchMode = $template->param('singleBranchMode'); >+ my $singleBranchMode = C4::Context->preference("singleBranchMode"); > if ($singleBranchMode || ! $OPACChooseBranch) { # single branch mode or disabled user choosing > $branch = $borr->{'branchcode'}; > } >-- >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 7581
:
7811
|
8324