Bugzilla – Attachment 622 Details for
Bug 2339
Place hold button display with AllowOnShelfHolds OFF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to opac-ISBDdetail.pl to match the updated template.
0001-Bugfix-2339-Place-hold-button-display-with-AllowOn.patch (text/plain), 1.82 KB, created by
Chris Cormack
on 2009-07-30 11:59:00 UTC
(
hide
)
Description:
Update to opac-ISBDdetail.pl to match the updated template.
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-07-30 11:59:00 UTC
Size:
1.82 KB
patch
obsolete
>From 187534fd0c25e9bd47584b1c76d66a7d7ee692ce Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle.m.hall@gmail.com> >Date: Thu, 30 Jul 2009 11:54:11 +0000 >Subject: [PATCH] Bugfix 2339 - Place hold button display with AllowOnShelfHolds OFF (Part 2) > >Added code to opac-ISBDdetail.pl to match the changes made to the template file. >--- > .../opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl | 2 +- > opac/opac-ISBDdetail.pl | 3 +++ > 2 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl >index 17acd38..d320f0b 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl >@@ -166,7 +166,7 @@ > <!-- TMPL_IF NAME="AllowOnShelfHolds" --> > <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li> > <!-- TMPL_ELSE --> >- <!-- TMPL_IF NAME="itemsissued" --> >+ <!-- TMPL_IF NAME="ItemsIssued" --> > <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li> > <!-- /TMPL_IF --> > <!-- /TMPL_IF --> >diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl >index 38896ee..d60f8fc 100755 >--- a/opac/opac-ISBDdetail.pl >+++ b/opac/opac-ISBDdetail.pl >@@ -68,6 +68,9 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > > my $biblionumber = $query->param('biblionumber'); > >+$template->param( 'AllowOnShelfHolds' => C4::Context->preference('AllowOnShelfHolds') ); >+$template->param( 'ItemsIssued' => CountItemsIssued( $biblionumber ) ); >+ > my $marcflavour = C4::Context->preference("marcflavour"); > my $record = GetMarcBiblio($biblionumber); > >-- >1.5.6.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 2339
:
621
| 622 |
623