Bugzilla – Attachment 109115 Details for
Bug 5927
Show series information in search results page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add 440 and 490 $a and $v to search results
0001-Bug-5927-Show-series-information-in-OPAC-search-resu.patch (text/plain), 1.63 KB, created by
Rogan Hamby
on 2020-08-25 15:40:26 UTC
(
hide
)
Description:
patch to add 440 and 490 $a and $v to search results
Filename:
MIME Type:
Creator:
Rogan Hamby
Created:
2020-08-25 15:40:26 UTC
Size:
1.63 KB
patch
obsolete
>From 55a86bf5f66e8d3173681a1b60f21e402a0b9d62 Mon Sep 17 00:00:00 2001 >From: Rogan Hamby <rhamby@equinoxinitiative.org> >Date: Tue, 25 Aug 2020 11:38:53 -0400 >Subject: [PATCH] Bug 5927: Show series information in OPAC search results > This patch adds each 440 and 490 as series statements to > the opac results Test plan: simply seach for any records > with a 440 or 440 and they will appear on the search > results > >--- > .../opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index a0879f6..6907547 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -660,6 +660,18 @@ > </xsl:for-each> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=440 or @tag=490]"> >+ <span class="results_summary series"> >+ <span class="label">Series: </span> >+ <xsl:for-each select="marc:datafield[@tag=440 or @tag=490]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">av</xsl:with-param> >+ </xsl:call-template> >+ <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ > <xsl:if test="$DisplayOPACiconsXSLT!='0'"> > <span class="results_summary type"> > <xsl:if test="$typeOf008!=''"> >-- >1.7.10.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 5927
:
109033
|
109070
|
109106
|
109115
|
109118
|
109119
|
109757
|
109968
|
109995
|
109996