Bugzilla – Attachment 9824 Details for
Bug 8138
Add 773$t field to xslt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug_8138: added 773$t field to search results
bug8138-added-773t-field-to-search-results.patch (text/plain), 2.13 KB, created by
Paul Poulain
on 2012-05-29 12:32:32 UTC
(
hide
)
Description:
bug_8138: added 773$t field to search results
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-05-29 12:32:32 UTC
Size:
2.13 KB
patch
obsolete
>From 6cbabe47221c976cffc46245eaadf29d74001b15 Mon Sep 17 00:00:00 2001 >From: Srdjan <srdjan@catalyst.net.nz> >Date: Mon, 28 May 2012 12:12:34 +1200 >Subject: [PATCH] bug_8138: added 773$t field to search results > >Signed-off-by: Paul Poulain testing sandboxes <paul.poulain@free.fr> >--- > .../prog/en/xslt/MARC21slim2intranetResults.xsl | 11 +++++++++++ > .../prog/en/xslt/MARC21slim2OPACResults.xsl | 11 +++++++++++ > 2 files changed, 22 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index 6bb1c10..f4554a6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -436,6 +436,17 @@ > </span> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=773]"> >+ <xsl:for-each select="marc:datafield[@tag=773]"> >+ <xsl:if test="marc:subfield[@code='t']"> >+ <span class="results_summary"> >+ <span class="label">Source: </span> >+ <xsl:value-of select="marc:subfield[@code='t']"/> >+ </span> >+ </xsl:if> >+ </xsl:for-each> >+ </xsl:if> >+ > <span class="results_summary"> > <xsl:if test="$typeOf008!=''"> > <span class="label">Type: </span> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >index 4acb90b..5f80c6f 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl >@@ -516,6 +516,17 @@ > </span> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=773]"> >+ <xsl:for-each select="marc:datafield[@tag=773]"> >+ <xsl:if test="marc:subfield[@code='t']"> >+ <span class="results_summary"> >+ <span class="label">Source: </span> >+ <xsl:value-of select="marc:subfield[@code='t']"/> >+ </span> >+ </xsl:if> >+ </xsl:for-each> >+ </xsl:if> >+ > <xsl:if test="$DisplayOPACiconsXSLT!='0'"> > <span class="results_summary"> > <xsl:if test="$typeOf008!=''"> >-- >1.7.2.5
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 8138
:
9799
|
9814
|
9815
|
9816
|
9817
|
9818
|
9819
|
9820
|
9821
|
9822
|
9823
|
9824
|
9825
|
9826
|
9827
|
9828
|
9829
|
9830