Bugzilla – Attachment 109119 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.
0001-Bug-5927-Show-series-information-in-staff-search-res.patch (text/plain), 1.89 KB, created by
Amit Gupta
on 2020-08-25 15:58:08 UTC
(
hide
)
Description:
Bug 5927: Show series information in staff search results page.
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2020-08-25 15:58:08 UTC
Size:
1.89 KB
patch
obsolete
>From 2fa2b7e096ff3ad2671fd654ec923c6f44c210f9 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. >--- > .../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 be70b9a..928ba6b 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.7.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