Bug 3228: Fix for Type: label in XSLT displays.
authorGarry Collum <gcollum@gmail.com>
Sat, 13 Jun 2009 14:51:45 +0000 (10:51 -0400)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 15 Jun 2009 17:43:49 +0000 (12:43 -0500)
commitc147650b4a188f349e738630d1ffae882e7be103
treef9593989e411afe51793f996bf4af43583376f87
parentc9ef8100a92eccbf136f7f8a218b11a85452ff3a
Bug 3228: Fix for Type: label in XSLT displays.

Empty nodes must be generated in the XML for MARC21slim2OPACResults - typeOf008 and MARC21slim2OPACResults - materialTypeCode when the fields in the Marc record do not exist.  This patch fixes the "Type: " label.  More testing needs to be done to see if any other labels appear in the Opac if the data is not defined in the MARC record.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl