From a03759f01d34e7b7ab5c5b70d5da0c1fc6f2a997 Mon Sep 17 00:00:00 2001 From: Kyle M Hall 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 Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- 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 8eb9f082a7..eb6fd1b9a8 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 @@ -247,7 +247,7 @@ Sorry, this self-checkout station has lost authentication. Please contact the a [% FOREACH ISSUE IN ISSUES %] [% UNLESS ( loop.odd ) %][% ELSE %][% END %] - [% UNLESS ( ISSUE.noitemlinks ) %][% ISSUE.title |html %][% ELSE %][% ISSUE.title |html %][% END %] + [% UNLESS ( noitemlinks ) %][% ISSUE.title |html %][% ELSE %][% ISSUE.title |html %][% END %] [% ISSUE.author %] ([% ISSUE.barcode %]) [% ISSUE.itemcallnumber %] [% IF ( ISSUE.overdue ) %][% ISSUE.date_due | $KohaDates %][% ELSE %][% ISSUE.date_due | $KohaDates %][% END %] -- 2.39.5