Bug 25793: OAI 'Set' and 'Metadata' dropdowns broken by OPAC jQuery upgrade
authorOwen Leonard <oleonard@myacpl.org>
Mon, 22 Jun 2020 23:57:29 +0000 (23:57 +0000)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 16 Jul 2020 04:30:42 +0000 (16:30 +1200)
commit46248a65d6f773a25d4f568e3b6a5508f6648bf6
tree27720937c4e4908d54c6db950c8ead4b60961452
parent0d9ea88b86ea48142aabdb4eea6efb4b98eae3f1
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: <OPACBaseURL>/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 <alexbuckley@catalyst.net.nz>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 23ed2e110e16f04a34c01ac866b470ec725b7522)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 13ac8457d5ef1da87ecbc729ffb93b9f19fd84e1)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/opac-tmpl/xslt/OAI.xslt