From e9fb303f7eec318ba533905bb512f15675f12050 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 19 Nov 2021 19:34:20 +0000 Subject: [PATCH] Bug 29556: MARC21slim2MODS.xsl broken by duplicate template name "part" Content-Type: text/plain; charset=utf-8 This patch removes a redundant section from MARC21slim2MODS.xsl which was breaking the option to use unAPI in the OPAC using MODS format. To test, apply the patch and view a record in the OPAC using unAPI, e.g.: /cgi-bin/koha/unapi?id=koha:biblionumber:1&format=MODS You should see an XML file where previously there would have been an error. Signed-off-by: David Nind Signed-off-by: Marcel de Rooy --- .../prog/en/xslt/MARC21slim2MODS.xsl | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl index 814562ca6b..b37d9dd503 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl @@ -1470,33 +1470,6 @@ - - - - n - n - fghkdlmor - - - - - p - p - fghkdlmor - - - - - - - - - - - - - - -- 2.20.1