From 13ac8457d5ef1da87ecbc729ffb93b9f19fd84e1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 22 Jun 2020 23:57:29 +0000 Subject: [PATCH] Bug 25793: OAI 'Set' and 'Metadata' dropdowns broken by OPAC jQuery upgrade This patch modifies the OAI XSLT file, correcting the path to jQuery assets and adds a link to jquery-migrate. To test, apply the patch and make sure the "OAI-PMH" system preference is enabled. 1. Go to: /cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=marc21 e.g. localhost:8080/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=marc21 2. Click on the 'Sets' and 'Metadata' links. The corresponding panels with set and metatdata information should be shown. Tested against master, works as described. Signed-off-by: Alex Buckley Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart (cherry picked from commit 23ed2e110e16f04a34c01ac866b470ec725b7522) Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/xslt/OAI.xslt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/xslt/OAI.xslt b/koha-tmpl/opac-tmpl/xslt/OAI.xslt index 8a9f490282..a6f3bcf29c 100644 --- a/koha-tmpl/opac-tmpl/xslt/OAI.xslt +++ b/koha-tmpl/opac-tmpl/xslt/OAI.xslt @@ -26,8 +26,9 @@ Koha OAI-PMH Data Provider - + + -- 2.39.5