Bugzilla – Attachment 16405 Details for
Bug 9748
noitemlinks not being enforced
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9748: don't link items in SCO checkout list back to main OPAC
Bug-9748-dont-link-items-in-SCO-checkout-list-back.patch (text/plain), 1.99 KB, created by
Jonathan Druart
on 2013-03-19 15:11:36 UTC
(
hide
)
Description:
Bug 9748: don't link items in SCO checkout list back to main OPAC
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-03-19 15:11:36 UTC
Size:
1.99 KB
patch
obsolete
>From ca91d81eeb73bd67cc4d427217e8cc04c3b56a97 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 5 Mar 2013 14:08:12 -0500 >Subject: [PATCH] Bug 9748: don't link items in SCO checkout list back to main > OPAC > >It appears that the conversion from HTML::Template to TT >changed noitemlinks to ISSUE.noitemlinks, hence it is being ignored. > >This is a problem for SCO kiosks where all the navigation controls >are hidden. Clicking the link means leaving the SCO module and >not being able to get back. > >Test plan: >1) Run SCO module, check for item links >2) Apply patch >3) Run SCO module, note that the items no longer have links > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >--- > koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >index 3f6438f..5190dc7 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >@@ -269,7 +269,7 @@ Sorry, this self-checkout station has lost authentication. Please contact the a > [% FOREACH ISSUE IN ISSUES %] > [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] > <!-- FIXME: yet another jacket image breakpoint --> >- <td>[% UNLESS ( ISSUE.noitemlinks ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a>[% ELSE %]<strong>[% ISSUE.title |html %]</strong>[% END %]<span class="item-details"> >+ <td>[% UNLESS ( noitemlinks ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a>[% ELSE %]<strong>[% ISSUE.title |html %]</strong>[% END %]<span class="item-details"> > [% ISSUE.author %]</span> ([% ISSUE.barcode %])</td> > <td>[% ISSUE.itemcallnumber %]</td> > [% IF ( ISSUE.overdue ) %]<td class="overdue">[% ISSUE.date_due | $KohaDates %]</td>[% ELSE %]<td>[% ISSUE.date_due | $KohaDates %]</td>[% END %] >-- >1.7.10.4
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 9748
:
15895
|
16085
| 16405