Bugzilla – Attachment 89605 Details for
Bug 20986
MARC21 Supplement and Index Textual Holdings don't display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20986: Add 867 and 868 holdings display
Bug-20986-Add-867-and-868-holdings-display.patch (text/plain), 6.27 KB, created by
Katrin Fischer
on 2019-05-11 13:32:02 UTC
(
hide
)
Description:
Bug 20986: Add 867 and 868 holdings display
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-05-11 13:32:02 UTC
Size:
6.27 KB
patch
obsolete
>From 948aa7bb6e69dbf694d093b4e84c32ded7b30990 Mon Sep 17 00:00:00 2001 >From: Joy Nelson <joy@bywatersolutions.com> >Date: Fri, 22 Jun 2018 15:22:40 -0700 >Subject: [PATCH] Bug 20986: Add 867 and 868 holdings display > >Add line breaks in the 866 Holdings display in the OPAC details and Staff details page. Add 867 and 868 textual holdings with line breaks in the OPAC and Staff details display. > >Signed-off-by: Ed Veal <eveal@mckinneytexas.org> > >https://bugs.koha-community.org/show_bug.cgi?id=10662 >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 29 ++++++++++++++++++++-- > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 28 +++++++++++++++++++-- > 2 files changed, 53 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 2f9f8548bb..127a187b72 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -1048,16 +1048,41 @@ > > <!-- 866 textual holdings --> > <xsl:if test="marc:datafield[@tag=866]"> >- <span class="results_summary holdings_note"><span class="label">Holdings note: </span> >+ <span class="results_summary holdings_note"><span class="label">Holdings: </span><br /> > <xsl:for-each select="marc:datafield[@tag=866]"> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">axz</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:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose> > </xsl:for-each> > </span> > </xsl:if> > >+ <!-- 867 textual holdings --> >+ <xsl:if test="marc:datafield[@tag=867]"> >+ <span class="results_summary holdings_note"><span class="label">Supplements: </span><br /> >+ <xsl:for-each select="marc:datafield[@tag=867]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">axz</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><br /></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ <!-- 868 textual holdings --> >+ <xsl:if test="marc:datafield[@tag=868]"> >+ <span class="results_summary holdings_note"><span class="label">Indexes: </span><br /> >+ <xsl:for-each select="marc:datafield[@tag=868]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">axz</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><br /></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ > <!-- 775 Other Edition --> > <xsl:if test="marc:datafield[@tag=775]"> > <span class="results_summary other_editions"><span class="label">Other editions: </span> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 13d7174740..2f48e732b7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -1186,12 +1186,36 @@ > > <!-- 866 textual holdings --> > <xsl:if test="marc:datafield[@tag=866]"> >- <span class="results_summary holdings_note"><span class="label">Holdings note: </span> >+ <span class="results_summary holdings_note"><span class="label">Holdings: </span> <br /> > <xsl:for-each select="marc:datafield[@tag=866]"> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">az</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:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ <!-- 867 textual holdings --> >+ <xsl:if test="marc:datafield[@tag=867]"> >+ <span class="results_summary holdings_note"><span class="label">Supplements: </span> <br /> >+ <xsl:for-each select="marc:datafield[@tag=867]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">az</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><br /></xsl:otherwise></xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ <!-- 868 textual holdings --> >+ <xsl:if test="marc:datafield[@tag=868]"> >+ <span class="results_summary holdings_note"><span class="label">Indexes: </span> <br /> >+ <xsl:for-each select="marc:datafield[@tag=868]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">az</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><br /></xsl:otherwise></xsl:choose> > </xsl:for-each> > </span> > </xsl:if> >-- >2.11.0
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 20986
:
76316
|
78861
|
79550
|
79551
|
88095
|
88096
| 89605 |
89606