Bugzilla – Attachment 78004 Details for
Bug 17625
245f and 245g are not displayed in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17625: adding subfields f and g to XSLT display
Bug-17625-adding-subfields-f-and-g-to-XSLT-display.patch (text/plain), 4.36 KB, created by
Biblibre Sandboxes
on 2018-08-17 23:30:52 UTC
(
hide
)
Description:
Bug 17625: adding subfields f and g to XSLT display
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2018-08-17 23:30:52 UTC
Size:
4.36 KB
patch
obsolete
>From d69f26089bd055ccb26539d98b1b123b1fabb2ea Mon Sep 17 00:00:00 2001 >From: Joy Nelson <joy@bywatersolutions.com> >Date: Fri, 22 Jun 2018 11:56:11 -0700 >Subject: [PATCH] Bug 17625: adding subfields f and g to XSLT display > >Adding 245$f and 245$g to the Results and Detail pages on OPAC and staff side > >Signed-off-by: Joy Nelson <joy@bywatersolutions.com> > >Signed-off-by: Cab Vinton <bibliwho@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 3 ++- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl | 3 ++- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 3 ++- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 3 ++- > 4 files changed, 8 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 2c16a13..8f3a24e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -119,7 +119,8 @@ > </xsl:call-template> > <xsl:text> </xsl:text> > <!-- 13381 add additional subfields--> >- <xsl:for-each select="marc:subfield[contains('bchknps', @code)]"> >+ <!-- bz 17625 adding subfields f and g --> >+ <xsl:for-each select="marc:subfield[contains('bcfghknps', @code)]"> > <xsl:choose> > <xsl:when test="@code='h'"> > <!-- 13381 Span class around subfield h so it can be suppressed via css --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index 8dd6b18..4605923 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -316,7 +316,8 @@ > </xsl:call-template> > <xsl:text> </xsl:text> > <!-- 13381 add additional subfields--> >- <xsl:for-each select="marc:subfield[contains('bchknps', @code)]"> >+ <!-- bz 17625 adding subfields f and g --> >+ <xsl:for-each select="marc:subfield[contains('bcfghknps', @code)]"> > <xsl:choose> > <xsl:when test="@code='h'"> > <!-- 13381 Span class around subfield h so it can be suppressed via css --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index f31b1be..45119d4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -132,7 +132,8 @@ > </xsl:call-template> > <xsl:text> </xsl:text> > <!-- 13381 add additional subfields--> >- <xsl:for-each select="marc:subfield[contains('bchknps', @code)]"> >+ <!-- bug17625 adding f and g subfields --> >+ <xsl:for-each select="marc:subfield[contains('bcfghknps', @code)]"> > <xsl:choose> > <xsl:when test="@code='h'"> > <!-- 13381 Span class around subfield h so it can be suppressed via css --> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index 7349b81..fd98cb1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -424,7 +424,8 @@ > </xsl:call-template> > <xsl:text> </xsl:text> > <!-- 13381 add additional subfields--> >- <xsl:for-each select="marc:subfield[contains('bchknps', @code)]"> >+ <!-- bz 17625 adding subfields f and g --> >+ <xsl:for-each select="marc:subfield[contains('bcfghknps', @code)]"> > <xsl:choose> > <xsl:when test="@code='h'"> > <!-- 13381 Span class around subfield h so it can be suppressed via css --> >-- >2.7.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 17625
:
57470
|
57471
|
76302
|
78003
|
78004
|
78046