Bugzilla – Attachment 32560 Details for
Bug 13120
Invalid HTML generated by MARC21slim2OPACResults.xsl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13120 - Invalid HTML generated by MARC21slim2OPACResults.xsl
Bug-13120---Invalid-HTML-generated-by-MARC21slim2O.patch (text/plain), 1.65 KB, created by
Owen Leonard
on 2014-10-21 18:11:14 UTC
(
hide
)
Description:
Bug 13120 - Invalid HTML generated by MARC21slim2OPACResults.xsl
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-10-21 18:11:14 UTC
Size:
1.65 KB
patch
obsolete
>From cd083189f693842177a4053c03ffc732fba44a48 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 21 Oct 2014 14:05:31 -0400 >Subject: [PATCH] Bug 13120 - Invalid HTML generated by > MARC21slim2OPACResults.xsl >Content-Type: text/plain; charset="utf-8" > >This patch converts an id to a class in order to avoid duplicate id >attributes on one page. > >To test you must have XSLT enabled with the default setting. Perform a >search in the OPAC and confirm that the display of location looks >correct. > >Run the resulting page through a validator using an in-browser tool like >Firefox's Html Validator addon or using the W3C's validator.w3.org. The >results should not complain of duplicate id attributes. >--- > .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index d83f3c2..e5405b8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -1188,7 +1188,7 @@ > </span> > <xsl:choose> > <xsl:when test="($OPACItemLocation='location' or $OPACItemLocation='ccode') and (count(key('item-by-status', 'available'))!=0 or count(key('item-by-status', 'reference'))!=0)"> >- <span class="results_summary" id="location"> >+ <span class="results_summary location"> > <span class="label">Location(s): </span> > <xsl:choose> > <xsl:when test="count(key('item-by-status', 'available'))>0"> >-- >1.7.9.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 13120
:
32560
|
32710
|
32714