Bugzilla – Attachment 109757 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]
Bug 5927: Show series information in staff search results page.
Bug-5927-Show-series-information-in-staff-search-r.patch (text/plain), 1.95 KB, created by
Alexis Ripetti
on 2020-09-08 15:16:39 UTC
(
hide
)
Description:
Bug 5927: Show series information in staff search results page.
Filename:
MIME Type:
Creator:
Alexis Ripetti
Created:
2020-09-08 15:16:39 UTC
Size:
1.95 KB
patch
obsolete
>From 83c42a45a909eadeacff391a7eb7a75e851b2038 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Tue, 25 Aug 2020 14:47:53 +0000 >Subject: [PATCH] Bug 5927: Show series information in staff search results > page. > >To test: >1. Create a catalog records with 440 and 490 ($a and $v subfield) MARC21 fields. >2. Search the result in staff page and you will not able to see Series in the search result page. >3. Apply the patch >4. Refresh the page. >5. Now you can able to see Series in the staff search result page. >6. This patch will handle to show both 440 and 490 ($a and $v subfield) fields in the search result page. > >Signed-off-by: Alexis Ripetti <alexis.ripetti@inLibro.com> >--- > .../prog/en/xslt/MARC21slim2intranetResults.xsl | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index be70b9abcb..55b76cb1d7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -913,6 +913,18 @@ > </span> > </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="marc:datafield[@tag=773]"> > <xsl:for-each select="marc:datafield[@tag=773]"> > <xsl:if test="marc:subfield[@code='t']"> >-- >2.25.1
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