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>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 8850540dea)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Owen Leonard 2016-08-19 10:08:38 -04:00 committed by Frédéric Demians
parent 659bdfa5ab
commit bb166e9b1a
2 changed files with 40 additions and 40 deletions

View File

@ -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>
<xsl:when test="$controlField008-33='l'">
fiction
</xsl:when>
<xsl:when test="$controlField008-33='h'">
humor, satire
</xsl:when>
<xsl:when test="$controlField008-33='i'">
letter
<xsl:when test="$controlField008-33='e'">
Essays
</xsl:when>
<xsl:when test="$controlField008-33='f'">
novel
Novels
</xsl:when>
<xsl:when test="$controlField008-33='h'">
Humor, satires, etc.
</xsl:when>
<xsl:when test="$controlField008-33='i'">
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>

View File

@ -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>
<xsl:when test="$controlField008-33='l'">
fiction
</xsl:when>
<xsl:when test="$controlField008-33='h'">
humor, satire
</xsl:when>
<xsl:when test="$controlField008-33='i'">
letter
<xsl:when test="$controlField008-33='e'">
Essays
</xsl:when>
<xsl:when test="$controlField008-33='f'">
novel
Novels
</xsl:when>
<xsl:when test="$controlField008-33='h'">
Humor, satires, etc.
</xsl:when>
<xsl:when test="$controlField008-33='i'">
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>