Bugzilla – Attachment 54720 Details for
Bug 13921
XSLT Literary Formats Not Showing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 13921 - XSLT Literary Formats Not Showing
SIGNED-OFF-Bug-13921---XSLT-Literary-Formats-Not-S.patch (text/plain), 5.66 KB, created by
Aleisha Amohia
on 2016-08-22 23:18:19 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 13921 - XSLT Literary Formats Not Showing
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-08-22 23:18:19 UTC
Size:
5.66 KB
patch
obsolete
>From 84d6322a2b45989989384a1f5a8f69268603347d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 19 Aug 2016 10:08:38 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 13921 - XSLT Literary Formats Not Showing > >This patch adds some missing literary formats to the staff client and >OPAC's search results XSLT display. > >To test you must have DisplayOPACiconsXSLT and DisplayIconsXSLT system >preferences enabled. XSLTResultsDisplay and OPACXSLTResultsDisplay >should be set to 'default.' > >Perform searches in the staff client and the OPAC and confirm that the >following literary forms (defined in 008 position 33) display correctly: >Not fiction; Fiction; Dramas; Essays; Novels; Humor, satires, etc.; >Letters; Short stories; Mixed forms; Poetry; Speeches. > >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >--- > .../prog/en/xslt/MARC21slim2intranetResults.xsl | 34 +++++++++++----------- > .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 34 +++++++++++----------- > 2 files changed, 34 insertions(+), 34 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index 6894645..23af29c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -641,37 +641,37 @@ > </xsl:if> > <xsl:choose> > <xsl:when test="$controlField008-33='0'"> >- not fiction >+ Not fiction > </xsl:when> > <xsl:when test="$controlField008-33='1'"> >- fiction >- </xsl:when> >- <xsl:when test="$controlField008-33='e'"> >- essay >+ Fiction > </xsl:when> > <xsl:when test="$controlField008-33='d'"> >- drama >+ Dramas > </xsl:when> >- <xsl:when test="$controlField008-33='c'"> >- comic strip >+ <xsl:when test="$controlField008-33='e'"> >+ Essays > </xsl:when> >- <xsl:when test="$controlField008-33='l'"> >- fiction >+ <xsl:when test="$controlField008-33='f'"> >+ Novels > </xsl:when> > <xsl:when test="$controlField008-33='h'"> >- humor, satire >+ Humor, satires, etc. > </xsl:when> > <xsl:when test="$controlField008-33='i'"> >- letter >- </xsl:when> >- <xsl:when test="$controlField008-33='f'"> >- novel >+ Letters > </xsl:when> > <xsl:when test="$controlField008-33='j'"> >- short story >+ Short stories >+ </xsl:when> >+ <xsl:when test="$controlField008-33='m'"> >+ Mixed forms >+ </xsl:when> >+ <xsl:when test="$controlField008-33='p'"> >+ Poetry > </xsl:when> > <xsl:when test="$controlField008-33='s'"> >- speech >+ Speeches > </xsl:when> > </xsl:choose> > </span> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index dc66b3e..353b08e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -786,37 +786,37 @@ > </xsl:if> > <xsl:choose> > <xsl:when test="$controlField008-33='0'"> >- not fiction >+ Not fiction > </xsl:when> > <xsl:when test="$controlField008-33='1'"> >- fiction >- </xsl:when> >- <xsl:when test="$controlField008-33='e'"> >- essay >+ Fiction > </xsl:when> > <xsl:when test="$controlField008-33='d'"> >- drama >+ Dramas > </xsl:when> >- <xsl:when test="$controlField008-33='c'"> >- comic strip >+ <xsl:when test="$controlField008-33='e'"> >+ Essays > </xsl:when> >- <xsl:when test="$controlField008-33='l'"> >- fiction >+ <xsl:when test="$controlField008-33='f'"> >+ Novels > </xsl:when> > <xsl:when test="$controlField008-33='h'"> >- humor, satire >+ Humor, satires, etc. > </xsl:when> > <xsl:when test="$controlField008-33='i'"> >- letter >- </xsl:when> >- <xsl:when test="$controlField008-33='f'"> >- novel >+ Letters > </xsl:when> > <xsl:when test="$controlField008-33='j'"> >- short story >+ Short stories >+ </xsl:when> >+ <xsl:when test="$controlField008-33='m'"> >+ Mixed forms >+ </xsl:when> >+ <xsl:when test="$controlField008-33='p'"> >+ Poetry > </xsl:when> > <xsl:when test="$controlField008-33='s'"> >- speech >+ Speeches > </xsl:when> > </xsl:choose> > </span> >-- >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 13921
:
37290
|
37291
|
54640
|
54720
|
54949