Bugzilla – Attachment 2126 Details for
Bug 4482
Field 773 (Host item info) should be displayed in search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Example of desired behavior
0001-Show-host-publication-in-search-results.patch (text/plain), 1.48 KB, created by
Chris Cormack
on 2010-05-10 17:59:00 UTC
(
hide
)
Description:
Example of desired behavior
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-05-10 17:59:00 UTC
Size:
1.48 KB
patch
obsolete
>From 5a80c1399f8ae6facc00db5275328f73ad320d99 Mon Sep 17 00:00:00 2001 >From: Jared CAMINS-ESAKOV <camins@numismatics.org> >Date: Fri, 9 Apr 2010 16:18:45 -0400 >Subject: [PATCH] Show host publication in search results >Content-Type: text/plain; charset="utf-8" > >Show host publication info (773) directly in search results when available. >--- > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 11 +++++++++++ > 1 files changed, 11 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 97d00e0..fd1eed5 100755 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -499,6 +499,17 @@ > </span> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=773]"> >+ <span class="results_summary"> >+ <span class="label"><xsl:choose><xsl:when test="marc:subfield[@code='i']"><xsl:value-of select="marc:subfield[@code='i']"/> </xsl:when><xsl:otherwise>In: </xsl:otherwise></xsl:choose></span> >+ <xsl:for-each select="marc:datafield[@tag=773]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">atdghkq</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ > <xsl:if test="$DisplayOPACiconsXSLT!='0'"> > <span class="results_summary"> > <xsl:if test="$typeOf008!=''"> >-- >1.7.0.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 4482
: 2126