Bugzilla – Attachment 157319 Details for
Bug 34020
Sequence of MARC 264 subfields different on XSLT result list and detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34020: (QA follow-up) Indentation fix
Bug-34020-QA-follow-up-Indentation-fix.patch (text/plain), 5.71 KB, created by
Martin Renvoize (ashimema)
on 2023-10-18 13:26:16 UTC
(
hide
)
Description:
Bug 34020: (QA follow-up) Indentation fix
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-10-18 13:26:16 UTC
Size:
5.71 KB
patch
obsolete
>From 9fd6624718c1e725a1a6421fa2df804399bf1672 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 18 Oct 2023 14:25:08 +0100 >Subject: [PATCH] Bug 34020: (QA follow-up) Indentation fix > >The middle 'if' block was indented a level deeper than expected. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../prog/en/xslt/MARC21slimUtils.xsl | 32 +++++++++---------- > .../bootstrap/en/xslt/MARC21slimUtils.xsl | 32 +++++++++---------- > 2 files changed, 32 insertions(+), 32 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >index 8bb863237b0..45e0ee2252e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >@@ -287,23 +287,23 @@ > <xsl:value-of select="current()"/> > </span> > </xsl:if> >- <xsl:if test="@code='b'"> >- <span property="rda264_name" typeof="Organization"> >- <span property="name" class="rda264_name"> >- <xsl:choose> >- <xsl:when test="$url='1'"> >- <a> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> >- <xsl:value-of select="current()"/> >- </a> >- </xsl:when> >- <xsl:otherwise> >- <xsl:value-of select="current()"/> >- </xsl:otherwise> >- </xsl:choose> >- </span> >+ <xsl:if test="@code='b'"> >+ <span property="rda264_name" typeof="Organization"> >+ <span property="name" class="rda264_name"> >+ <xsl:choose> >+ <xsl:when test="$url='1'"> >+ <a> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> >+ <xsl:value-of select="current()"/> >+ </a> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:value-of select="current()"/> >+ </xsl:otherwise> >+ </xsl:choose> > </span> >- </xsl:if> >+ </span> >+ </xsl:if> > <xsl:if test="@code='c'"> > <span property="date" class="rda264_date"> > <xsl:call-template name="chopPunctuation"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl >index 386e3047424..9d35b9f94ae 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl >@@ -285,23 +285,23 @@ > <xsl:value-of select="current()"/> > </span> > </xsl:if> >- <xsl:if test="@code='b'"> >- <span property="rda264_name" typeof="Organization"> >- <span property="name" class="rda264_name"> >- <xsl:choose> >- <xsl:when test="$url='1'"> >- <a> >- <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> >- <xsl:value-of select="current()"/> >- </a> >- </xsl:when> >- <xsl:otherwise> >- <xsl:value-of select="current()"/> >- </xsl:otherwise> >- </xsl:choose> >- </span> >+ <xsl:if test="@code='b'"> >+ <span property="rda264_name" typeof="Organization"> >+ <span property="name" class="rda264_name"> >+ <xsl:choose> >+ <xsl:when test="$url='1'"> >+ <a> >+ <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> >+ <xsl:value-of select="current()"/> >+ </a> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:value-of select="current()"/> >+ </xsl:otherwise> >+ </xsl:choose> > </span> >- </xsl:if> >+ </span> >+ </xsl:if> > <xsl:if test="@code='c'"> > <span property="date" class="rda264_date"> > <xsl:call-template name="chopPunctuation"> >-- >2.41.0
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 34020
:
157307
|
157308
|
157313
|
157314
|
157317
|
157318
| 157319