]> git.koha-community.org Git - koha.git/commit
Bug 34093: Fix paths to jQuery for OAI XSLT
authorNick Clemens <nick@bywatersolutions.com>
Thu, 22 Jun 2023 11:02:31 +0000 (11:02 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 26 Jun 2023 12:55:42 +0000 (14:55 +0200)
commite4503252d63ec408fbdc8190dffc8657ed463f3f
tree5f8bdc5795e1ed95819b29388177377e0bb7ec5e
parentcba15aaa093f80602177d18e9693b53742ddf74f
Bug 34093: Fix paths to jQuery for OAI XSLT

To test:
1 - Enable OAI-PMH system preference
2 - Browse to:
    http://localhost:8080/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=marcxml
3 - Click 'Metadata' button for a record
4 - Nothign happens
5 - Check the console:
    Loading failed for the <script> with source “http://localhost:8080/opac-tmpl/bootstrap/lib/jquery/jquery-migrate-3.3.2.min.js”.
    Loading failed for the <script> with source “http://localhost:8080/opac-tmpl/bootstrap/lib/jquery/jquery-3.6.0.min.js”.
    Loading failed for the <script> with source “http://localhost:8080/opac-tmpl/bootstrap/lib/bootstrap/js/bootstrap.bundle.min.js”.
6 - Apply patch
7 - Reload
8 - Console errors are gone
9 - Clicking 'Metadata' expands the record content

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bb8db3c7f6f14cb04312c49bd9b8b7ca6b74425c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/xslt/OAI.xslt