Bugzilla – Attachment 96526 Details for
Bug 24281
Fix the list of types of visual materials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24281: Fix the list of types of visual materials
Bug-24281-Fix-the-list-of-types-of-visual-material.patch (text/plain), 2.51 KB, created by
Maryse Simard
on 2019-12-20 14:24:42 UTC
(
hide
)
Description:
Bug 24281: Fix the list of types of visual materials
Filename:
MIME Type:
Creator:
Maryse Simard
Created:
2019-12-20 14:24:42 UTC
Size:
2.51 KB
patch
obsolete
>From 7551602ffe0ccc192dcb780d6aa7ddd47da21898 Mon Sep 17 00:00:00 2001 >From: Maryse Simard <maryse.simard@inlibro.com> >Date: Fri, 20 Dec 2019 09:03:39 -0500 >Subject: [PATCH] Bug 24281: Fix the list of types of visual materials > >In the MARC21 XSLT files for results in both staff and OPAC, the >type of visual material for code "g" is "legal article" instead >of "game". This patch change the value to "game". > >To test: >0. Set up: > - have a MARC21 database > - use default XSLT file for display of results : > OPACXSLTResultsDisplay : default > XSLTResultsDisplay : defaul > - If needed, catalog a game. In the 008 tag editor : > Type of Material : VM - Visual Materials > 33 - Type of visual material : g - Game >1. On both staff and OPAC, make a search which returns results >including visual materials of type game (the title catalogued >in previous step). >2. Note that in the list of results, the label "Type of visual >material" is followed by "legal article". >3. Apply patch. >4. Repeat step 1. >5. Note "legal article" has been replaced by "game". >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index 0d3f7f8..14da0ca 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -747,7 +747,7 @@ > filmstrip > </xsl:when> > <xsl:when test="$controlField008-33='g'"> >- legal article >+ game > </xsl:when> > <xsl:when test="$controlField008-33='i'"> > picture >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index 7c3e3eb..61e1900 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -940,7 +940,7 @@ > filmstrip > </xsl:when> > <xsl:when test="$controlField008-33='g'"> >- legal article >+ game > </xsl:when> > <xsl:when test="$controlField008-33='i'"> > picture >-- >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 24281
:
96526
|
96567