Bugzilla – Attachment 32724 Details for
Bug 13145
UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13145 UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield
Bug-13145-UNIMARC-610-tag-isnt-displayed-in-OPAC-w.patch (text/plain), 1.72 KB, created by
Frédéric Demians
on 2014-10-25 11:56:30 UTC
(
hide
)
Description:
Bug 13145 UNIMARC 610 tag isn't displayed in OPAC when there is no $9 subfield
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2014-10-25 11:56:30 UTC
Size:
1.72 KB
patch
obsolete
>From 2c53eea57b15c5a7e75ff962bf8d6a6281509446 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Sat, 25 Oct 2014 14:09:34 +0200 >Subject: [PATCH] Bug 13145 UNIMARC 610 tag isn't displayed in OPAC when there > is no $9 subfield > >On OPAC detail page, subject fields are not displayed when they are not linked >to authorities ($9 subfield). This is due to a misplelling in UNIMARC XSL >detail page. > >TO TEST: > >(1) On a Koha UNIMARC, find out a biblio record with a 610 field, without $9 > subfield. Something like: > > 610 1 $a Aliment -- Approvisionnement -- Europe -- Histoire > > Or add such a field to an existing record. > >(2) Check that OPACXSLTDetailsDisplay is set to 'default' > >(3) See this record on OPAC detail page. You must see 'Subject: ' => nothing > after the 'Subject' label. If your record contains several 610 fields > without $9, the | character will appear, separating no content. > >(4) Apply the patch. > >(5) Reload the page seen at step (3): subject is displayed now. >--- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >index fc4faa1..94f7bb7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl >@@ -268,7 +268,7 @@ > </xsl:if> > </xsl:for-each> > </xsl:when> >- <xsl:when test="marc:subfield[@code=a]"> >+ <xsl:when test="marc:subfield[@code='a']"> > <a> > <xsl:attribute name="href"> > <xsl:text>/cgi-bin/koha/opac-search.pl?q=su:</xsl:text> >-- >2.1.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 13145
:
32724
|
32763
|
32766