Bugzilla – Attachment 48660 Details for
Bug 14377
Indicate that a record is suppressed in staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14377 [QA Followup] - Add support for NORMARC
Bug-14377-QA-Followup---Add-support-for-NORMARC.patch (text/plain), 2.27 KB, created by
Jonathan Druart
on 2016-03-04 09:41:12 UTC
(
hide
)
Description:
Bug 14377 [QA Followup] - Add support for NORMARC
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-04 09:41:12 UTC
Size:
2.27 KB
patch
obsolete
>From 755251547d1c08ef1cdd68096b89314972e07484 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 19 Jan 2016 15:21:34 +0000 >Subject: [PATCH] Bug 14377 [QA Followup] - Add support for NORMARC > >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl | 6 ++++++ > .../intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl | 6 ++++++ > 2 files changed, 12 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl >index 62df2a7..5932f77 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl >@@ -58,6 +58,12 @@ > </xsl:choose> > </xsl:variable> > >+ <!-- Indicate if record is suppressed in OPAC --> >+ <xsl:variable name="Field942_1_True_Value" select="marc:OtherVars/marc:OtherVar[@name='Field942_1_True_Value']"/> >+ <xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = $Field942_1_True_Value]"> >+ <span class="results_summary suppressed_opac">Suppressed in OPAC</span> >+ </xsl:if> >+ > <!-- Tittel og ansvarsopplysninger --> > <xsl:if test="marc:datafield[@tag=245]"> > <h1> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl >index b41c95b..6070dfe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl >@@ -290,6 +290,12 @@ > </xsl:if> > </a> > >+ <!-- Indicate if record is suppressed in OPAC --> >+ <xsl:variable name="Field942_1_True_Value" select="marc:OtherVars/marc:OtherVar[@name='Field942_1_True_Value']"/> >+ <xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = $Field942_1_True_Value]"> >+ <span class="results_summary suppressed_opac">Suppressed in OPAC</span> >+ </xsl:if> >+ > <xsl:choose> > <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]"> > <p class="author">av >-- >2.7.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 14377
:
42424
|
42436
|
42709
|
43026
|
45564
|
45565
|
45566
|
45568
|
46900
|
46993
|
48657
|
48658
|
48659
|
48660
|
48661
|
49718
|
49719
|
49720
|
49721
|
49722
|
50360
|
50361
|
50720
|
50721
|
50839
|
50842
|
50843
|
50844
|
50881
|
50882
|
50883
|
50884
|
50885
|
50987