Bugzilla – Attachment 109033 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 display 440$a a nd 490$a in results
0001-Bug-5927-Show-series-information-in-OPAC-search-resu.patch (text/plain), 1.42 KB, created by
Rogan Hamby
on 2020-08-24 19:51:20 UTC
(
hide
)
Description:
patch to display 440$a a nd 490$a in results
Filename:
MIME Type:
Creator:
Rogan Hamby
Created:
2020-08-24 19:51:20 UTC
Size:
1.42 KB
patch
obsolete
>From 0693f5b3bff3b5c8f4f11e17463290f5828f145e Mon Sep 17 00:00:00 2001 >From: Rogan Hamby <rhamby@equinoxinitiative.org> >Date: Mon, 24 Aug 2020 15:48:26 -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 | 11 +++++++++++ > 1 file changed, 11 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..e6c33f8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -660,6 +660,17 @@ > </xsl:for-each> > </xsl:if> > >+ <xsl:if test="marc:datafield[@tag=440 or @tag=490]"> >+ <xsl:for-each select="marc:datafield[@tag=440 or @tag=490]"> >+ <xsl:if test="marc:subfield[@code='a']"> >+ <span class="results_summary source"> >+ <span class="label">Series: </span> >+ <xsl:value-of select="marc:subfield[@code='a']"/> >+ </span> >+ </xsl:if> >+ </xsl:for-each> >+ </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