Bugzilla – Attachment 59180 Details for
Bug 15437
MARC21: Show $i for 780/785
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17437 MARC21: Show $i for 780/785
Bug-17437-MARC21-Show-i-for-780785.patch (text/plain), 4.95 KB, created by
Caitlin Goodger
on 2017-01-18 21:08:59 UTC
(
hide
)
Description:
Bug 17437 MARC21: Show $i for 780/785
Filename:
MIME Type:
Creator:
Caitlin Goodger
Created:
2017-01-18 21:08:59 UTC
Size:
4.95 KB
patch
obsolete
>From eb82087d8072b42a5d38f50863060901efa67ac9 Mon Sep 17 00:00:00 2001 >From: Caitlin Goodger <caitlingoodger.student@wegc.school.nz> >Date: Wed, 18 Jan 2017 20:54:33 +0000 >Subject: [PATCH] Bug 17437 MARC21: Show $i for 780/785 > >Test Plan >1: Inside Administration go to MARC bibliographic framework and on the >default framework under Actions click on MARC structure >2: Search for 780 under search tag and under actions click subfields >3: Find i and click on edit. >4: Under Advanced Constraints select editor and save the changes. >5: Repeat for 785. >6: Find a Bibliograpical record and under Edit select edit record. >7: Under the 7 put values into 780 and 785. For this to work it is >dependant on the patch 17929 so that you can type into the indicators >8: When you save the changes you won't be able to see 780 or 785 on the >Bibliographical details >8: Apply the patch >9: Refresh and 780 and 785 should be there at the bottom under the >content > >https://bugs.koha-community.org/show_bug.cgi?id=15437 >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 70 ++++++++++++---------- > 1 file changed, 39 insertions(+), 31 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index d22f35b..bcf7cfb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -974,36 +974,35 @@ > > <!-- 780 --> > <xsl:if test="marc:datafield[@tag=780]"> >- <xsl:for-each select="marc:datafield[@tag=780]"> >- <xsl:if test="@ind1=0"> >- <span class="results_summary preceeding_entry"> >- <xsl:choose> >- <xsl:when test="@ind2=0"> >- <span class="label">Continues:</span> >- </xsl:when> >- <xsl:when test="@ind2=1"> >- <span class="label">Continues in part:</span> >- </xsl:when> >- <xsl:when test="@ind2=2"> >- <span class="label">Supersedes:</span> >- </xsl:when> >- <xsl:when test="@ind2=3"> >- <span class="label">Supersedes in part:</span> >- </xsl:when> >- <xsl:when test="@ind2=4"> >- <span class="label">Formed by the union: ... and: ...</span> >- </xsl:when> >- <xsl:when test="@ind2=5"> >- <span class="label">Absorbed:</span> >- </xsl:when> >- <xsl:when test="@ind2=6"> >- <span class="label">Absorbed in part:</span> >- </xsl:when> >- <xsl:when test="@ind2=7"> >- <span class="label">Separated from:</span> >- </xsl:when> >- </xsl:choose> >- <xsl:text> </xsl:text> >+ <xsl:for-each select="marc:datafield[@tag=780]"> >+ <xsl:if test="@ind1=0"> >+ <span class="results_summary preceeding_entry"> >+ <xsl:choose> >+ <xsl:when test="@ind2=0"> >+ <span class="label">Continues:</span> >+ </xsl:when> >+ <xsl:when test="@ind2=1"> >+ <span class="label">Continues in part:</span> >+ </xsl:when> >+ <xsl:when test="@ind2=2"> >+ <span class="label">Supersedes:</span> >+ </xsl:when> >+ <xsl:when test="@ind2=3"> >+ <span class="label">Supersedes in part:</span> >+ </xsl:when> >+ <xsl:when test="@ind2=4"> >+ <span class="label">Formed by the union: ... and: ...</span> >+ </xsl:when> >+ <xsl:when test="@ind2=5"> >+ <span class="label">Absorbed:</span> >+ </xsl:when> >+ <xsl:when test="@ind2=6"> >+ <span class="label">Absorbed in part:</span> >+ </xsl:when> >+ <xsl:when test="@ind2=7"> >+ <span class="label">Separated from:</span> >+ </xsl:when> >+ </xsl:choose> > <xsl:variable name="f780"> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">a_t</xsl:with-param> >@@ -1023,9 +1022,14 @@ > </xsl:choose> > </span> > >+ <xsl:if test="marc:subfield[@code='i']"> >+ <span class="results_summary"><xsl:value-of select="marc:subfield[@code='i']"/></span> >+ </xsl:if> >+ > <xsl:if test="marc:subfield[@code='n']"> > <span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> >- </xsl:if> >+ </xsl:if> >+ > > </xsl:if> > </xsl:for-each> >@@ -1085,6 +1089,10 @@ > </xsl:choose> > > </span> >+ <xsl:if test="marc:subfield[@code='i']"> >+ <span class="results_summary"><xsl:value-of select="marc:subfield[@code='i']"/></span> >+ </xsl:if> >+ > </xsl:for-each> > </xsl:if> > >-- >2.1.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 15437
:
46842
|
59180
|
110021
|
110022
|
110023
|
110024
|
110219
|
110220