Subject: [PATCH] Bug 5927: Show series information in OPAC search results This patch adds each 440 and 490 and 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

From: Rogan Hamby <[email-masked]>
Date: Tue, 25 Aug 2020 09:00:09 -0400

---
 .../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..6c488ae 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]">
+    <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:for-each>
+        </span>
+    </xsl:if>
+
 <xsl:if test="$DisplayOPACiconsXSLT!='0'">
     <span class="results_summary type">
     <xsl:if test="$typeOf008!=''">
-- 
1.7.10.4