Bugzilla – Attachment 54949 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]
[PASSED QA] Bug 13921 - XSLT Literary Formats Not Showing
PASSED-QA-Bug-13921---XSLT-Literary-Formats-Not-Sh.patch (text/plain), 5.72 KB, created by
Katrin Fischer
on 2016-08-28 12:53:25 UTC
(
hide
)
Description:
[PASSED QA] Bug 13921 - XSLT Literary Formats Not Showing
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-08-28 12:53:25 UTC
Size:
5.72 KB
patch
obsolete
>From c38c5473291e3707c15e63c07c8dc4d5c149d917 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 19 Aug 2016 10:08:38 -0400 >Subject: [PATCH] [PASSED QA] 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> > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > .../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.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 13921
:
37290
|
37291
|
54640
|
54720
| 54949