Bugzilla – Attachment 143069 Details for
Bug 13600
XSLT: 8xx not showing if there is no 4xx
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13600: (follow-up) Add seperator on the OPAC
Bug-13600-follow-up-Add-seperator-on-the-OPAC.patch (text/plain), 2.40 KB, created by
Nick Clemens (kidclamp)
on 2022-11-03 09:41:47 UTC
(
hide
)
Description:
Bug 13600: (follow-up) Add seperator on the OPAC
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-11-03 09:41:47 UTC
Size:
2.40 KB
patch
obsolete
>From 64bda7a298cbfd0e6c23ff9b6b0301993199fee2 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 3 Nov 2022 09:41:31 +0000 >Subject: [PATCH] Bug 13600: (follow-up) Add seperator on the OPAC > >--- > .../bootstrap/en/xslt/MARC21slimUtils.xsl | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl >index 52c53a4de0..b1afb43616 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl >@@ -391,7 +391,7 @@ > </xsl:if> > <xsl:choose> > <xsl:when test="position()=last()"> >- <xsl:if test="../marc:datafield[@tag=490][@ind1!=1]"> >+ <xsl:if test="../marc:datafield[@tag=490][@ind1!=1] or ../marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z'] or ../marc:datafield[@tag=830 and @ind1!='z']"> > <span class="separator"> | </span> > </xsl:if> > </xsl:when> >@@ -416,7 +416,7 @@ > </xsl:if> > <xsl:choose> > <xsl:when test="position()=last()"> >- <xsl:if test="../marc:datafield[@tag=490][@ind1=1]"> >+ <xsl:if test="../marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z'] or ../marc:datafield[@tag=830 and @ind1!='z']"> > <span class="separator"> | </span> > </xsl:if> > </xsl:when> >@@ -463,7 +463,16 @@ > <xsl:call-template name="part"/> > <xsl:text> ; </xsl:text> > <xsl:value-of select="marc:subfield[@code='v']" /> >- <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"> | </span></xsl:otherwise></xsl:choose> >+ <xsl:choose> >+ <xsl:when test="position()=last()"> >+ <xsl:if test="../marc:datafield[@tag=830 and @ind1!='z']"> >+ <span class="separator"> | </span> >+ </xsl:if> >+ </xsl:when> >+ <xsl:otherwise> >+ <span class="separator"> | </span> >+ </xsl:otherwise> >+ </xsl:choose> > </xsl:for-each> > > <xsl:for-each select="marc:datafield[@tag=830 and @ind1!='z']"> >-- >2.30.2
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 13600
:
40097
|
40106
|
40107
|
40207
|
40636
|
40637
|
140705
|
140706
|
140736
|
142530
|
142588
|
142589
|
143069
|
143566
|
143567
|
143568