Bugzilla – Attachment 5343 Details for
Bug 6496
authors appearing incorrectly in OPAC and Staff Client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 6496 - tidy the display of 710 fields on XSLT
SIGNED-OFF-Bug-6496---tidy-the-display-of-710-fiel.patch (text/plain), 3.10 KB, created by
Nicole C. Engard
on 2011-09-07 17:00:59 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 6496 - tidy the display of 710 fields on XSLT
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-09-07 17:00:59 UTC
Size:
3.10 KB
patch
obsolete
>From 6b24b83f9133a001dba82b4cd0055af5f3221bae Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Wed, 31 Aug 2011 19:59:44 +1200 >Subject: [PATCH] [SIGNED-OFF] Bug 6496 - tidy the display of 710 fields on XSLT > >This puts '--' between 710$b fields, and replaces the '.' with a '; ' if >there are additional authors. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 7 ++++++- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 14 ++++++++++++-- > 2 files changed, 18 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 4af47bd..aea48a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -756,7 +756,12 @@ > </xsl:call-template> > </xsl:for-each> > <xsl:for-each select="marc:subfield[@code='b']"> >- <xsl:value-of select="."/> >+ <xsl:value-of select="."/> >+ <xsl:choose> >+ <xsl:when test="position() != last()"> >+ <xsl:text> -- </xsl:text> >+ </xsl:when> >+ </xsl:choose> > </xsl:for-each> > <xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']"> > <xsl:call-template name="subfieldSelect"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index d4f763f..8fe0cf7 100755 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -142,10 +142,15 @@ > </xsl:choose> > <xsl:call-template name="nameABCDQ"/></a> > <xsl:choose> >- <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >+ <xsl:when test="position()!=last()"><xsl:text>; </xsl:text></xsl:when></xsl:choose> > </xsl:for-each> > > <xsl:for-each select="marc:datafield[@tag=110 or @tag=710]"> >+ <xsl:choose> >+ <xsl:when test="position()=1"> >+ <xsl:text>; </xsl:text> >+ </xsl:when> >+ </xsl:choose> > <a> > <xsl:choose> > <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> >@@ -898,7 +903,12 @@ > </xsl:call-template> > </xsl:for-each> > <xsl:for-each select="marc:subfield[@code='b']"> >- <xsl:value-of select="."/> >+ <xsl:value-of select="."/> >+ <xsl:choose> >+ <xsl:when test="position() != last()"> >+ <xsl:text> -- </xsl:text> >+ </xsl:when> >+ </xsl:choose> > </xsl:for-each> > <xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']"> > <xsl:call-template name="subfieldSelect"> >-- >1.7.2.3
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 6496
:
4447
|
4448
|
4449
|
4450
|
5235
|
5343
|
5397
|
5399
|
5400
|
5409
|
5451
|
7419
|
7479
|
7480