Bugzilla – Attachment 75566 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.53 KB, created by
Fridolin Somers
on 2018-05-25 15:05:54 UTC
(
hide
)
Description:
Bug 20823: UNIMARC XSLT add subfield t for subjects
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2018-05-25 15:05:54 UTC
Size:
2.53 KB
patch
obsolete
>From ec116a644a96c7aea4d96773de790bad25e9c42e 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 > >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 >--- > 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 65ec306..d9ea8ca 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 97206aa..d44d775 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >@@ -296,7 +296,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.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 20823
:
75566
|
85771
|
86533