Bugzilla – Attachment 86533 Details for
Bug 20823
UNIMARC XSLT does not display 604$t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20823: UNIMARC XSLT add subfield t for subjects
Bug-20823-UNIMARC-XSLT-add-subfield-t-for-subjects.patch (text/plain), 2.75 KB, created by
Martin Renvoize (ashimema)
on 2019-03-12 13:28:26 UTC
(
hide
)
Description:
Bug 20823: UNIMARC XSLT add subfield t for subjects
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-03-12 13:28:26 UTC
Size:
2.75 KB
patch
obsolete
>From d8409010ed68ccfebd46c82f42ec633a93e478e4 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 25 May 2018 16:51:15 +0200 >Subject: [PATCH] Bug 20823: UNIMARC XSLT add subfield t for subjects >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >In UNIMARC, 604 contains subfield t, see http://multimedia.bnf.fr/unimarcb_trad/B604-6-2011.pdf. >Actual XSLT files use template tag_subject for 604, it does not use t subfield. > >This patch adds subfield t to tag_subject and tag_onesubject templates in intranet and OPAC XSLT files. > >Test plan : >1) In UNIMARC catalog edit a biblio record to add 604$t >2) Use default XSLT files in sysprefs >2) Go to catalogue details page of this record using default XSLT files >3) Check $t is displayed at OPAC and intranet > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >index c41777b3f2..0c4cf0f4a4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >@@ -258,7 +258,7 @@ > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> > <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">abcdjpvxyz</xsl:with-param> >+ <xsl:with-param name="codes">abcdjptvxyz</xsl:with-param> > <xsl:with-param name="subdivCodes">jpxyz</xsl:with-param> > <xsl:with-param name="subdivDelimiter">-- </xsl:with-param> > </xsl:call-template> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >index 4195ddf7a7..61f67eb3f3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >@@ -305,7 +305,7 @@ > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> > <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">abcdfijkmnpvxyz</xsl:with-param> >+ <xsl:with-param name="codes">abcdfijkmnptvxyz</xsl:with-param> > <xsl:with-param name="subdivCodes">ijknpxyz</xsl:with-param> > <xsl:with-param name="subdivDelimiter">-- </xsl:with-param> > </xsl:call-template> >-- >2.20.1
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 20823
:
75566
|
85771
| 86533