Bugzilla – Attachment 2998 Details for
Bug 5622
Improve display of MARC21 773 field in XSLT detail view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 2.27 KB, created by
Marcel de Rooy
on 2011-01-17 13:52:41 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-01-17 13:52:41 UTC
Size:
2.27 KB
patch
obsolete
>From c9624c07c8aeda62044134341e7dab70d86d8647 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 17 Jan 2011 14:42:46 +0100 >Subject: [PATCH] Bug 5622 (Show 773 host in staff normal view) >Content-Type: text/plain; charset="utf-8" > >Applies to XSLT generated results in staff normal view. >Remove limitation to show host item entry only for leader19==c. >Use generic LOC label In: instead of Set: >Show title from 773t. >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index edaf280..06309fc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -275,9 +275,9 @@ > </span> > </xsl:if> > >- <!-- Set --> >- <xsl:if test="$leader19='c'"> >- <span class="results_summary"><span class="label">Set: </span> >+ <!-- Host item entry --> >+ <xsl:if test="marc:datafield[@tag=773]"> >+ <span class="results_summary"><span class="label">In: </span> > <xsl:for-each select="marc:datafield[@tag=773]"> > <a> > <xsl:choose> >@@ -285,10 +285,10 @@ > <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:value-of select="marc:subfield[@code='w']"/></xsl:attribute> > </xsl:when> > <xsl:otherwise> >- <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Title:<xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')"/></xsl:attribute> >+ <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Title:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute> > </xsl:otherwise> > </xsl:choose> >- <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')" /> >+ <xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')" /> > </a> > <xsl:choose> > <xsl:when test="position()=last()"></xsl:when> >-- >1.6.0.6 >
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 5622
:
2998
|
3029
|
3052
|
3342