Bugzilla – Attachment 3867 Details for
Bug 6159
Variable scope errors prevent placing holds in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-6159-Variable-scope-errors-prevent-placi.patch (text/plain), 4.08 KB, created by
Owen Leonard
on 2011-04-11 16:06:49 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-04-11 16:06:49 UTC
Size:
4.08 KB
patch
obsolete
>From 835a2c232fa440144f26d307a25a9474ccb8c919 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 11 Apr 2011 11:58:56 -0400 >Subject: [PATCH] Fix for Bug 6159 - Variable scope errors prevent placing holds in the OPAC >Content-Type: text/plain; charset="utf-8" > >--- > .../opac-tmpl/prog/en/modules/opac-reserve.tt | 16 ++++++++-------- > 1 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >index 742851d..4b72bc9 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt >@@ -267,7 +267,7 @@ > </span> > </td> > [% ELSE %] >- [% UNLESS ( bibitemloo.none_available ) %]<td> </td>[% END %] >+ [% UNLESS ( none_available ) %]<td> </td>[% END %] > [% END %] > [% IF ( bibitemloo.holdable ) %]<td>[% ELSE %]<td colspan="5">[% END %] > <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber %]">[% bibitemloo.title |html %][% IF ( bibitemloo.subtitle ) %] [% FOREACH subtitl IN bibitemloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a> >@@ -296,11 +296,11 @@ > </td> > [% END %][% END %] > [% IF ( bibitemloo.holdable ) %] >- [% IF ( bibitemloo.showpriority ) %] >+ [% IF ( showpriority ) %] > <td> > [% bibitemloo.rank %] out of [% bibitemloo.reservecount %] > </td>[% END %][% END %] >- [% IF ( bibitemloo.reserve_in_future ) %] >+ [% IF ( reserve_in_future ) %] > [% IF ( bibitemloo.holdable ) %]<td> > <input name="reserve_date_[% bibitemloo.biblionumber %]" id="reserve_date_[% bibitemloo.biblionumber %]" size="10"> > <script language="JavaScript" type="text/javascript"> >@@ -371,7 +371,7 @@ > <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('expiration_date_[% bibitemloo.biblionumber %]').value='';return false;">Clear Date</a></p> > </td>[% END %] > >- [% IF ( bibitemloo.holdable ) %][% IF ( bibitemloo.OPACItemHolds ) %] >+ [% IF ( bibitemloo.holdable ) %][% IF ( OPACItemHolds ) %] > <td class="place_on_type" style="display:none"> > <table> > <tr> >@@ -417,9 +417,9 @@ > </td> > [% END %][% END %] > >- [% UNLESS ( bibitemloo.singleBranchMode ) %] >+ [% UNLESS ( singleBranchMode ) %] > [% IF ( bibitemloo.holdable ) %] >- [% IF ( bibitemloo.choose_branch ) %] >+ [% IF ( choose_branch ) %] > <td> > <select name="branch" id="branch_[% bibitemloo.biblionumber %]" > [% UNLESS ( bibitemloo.holdable ) %]disabled="disabled"[% END %] > >@@ -437,7 +437,7 @@ > [% END %] > </tr> > >- [% IF ( bibitemloo.OPACItemHolds ) %] >+ [% IF ( OPACItemHolds ) %] > [% IF ( bibitemloo.holdable ) %] > <tr class="copiesrow" id="copiesrow_[% bibitemloo.biblionumber %]"> > <td colspan="1"> >@@ -482,7 +482,7 @@ > </td> > [% END %] > <td>[% itemLoo.barcode %]</td> >- [% UNLESS ( itemLoo.singleBranchMode ) %] >+ [% UNLESS ( singleBranchMode ) %] > <td>[% itemLoo.homeBranchName %]</td> > <td>[% itemLoo.holdingBranchName %]</td> > [% END %] >-- >1.7.3 >
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 6159
: 3867