Bugzilla – Attachment 106317 Details for
Bug 25793
OAI 'Set' and 'Metadata' dropdowns broken by OPAC jQuery upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25793: OAI 'Set' and 'Metadata' dropdowns broken by OPAC jQuery upgrade
Bug-25793-OAI-Set-and-Metadata-dropdowns-broken-by.patch (text/plain), 2.14 KB, created by
Julian Maurice
on 2020-06-26 08:25:13 UTC
(
hide
)
Description:
Bug 25793: OAI 'Set' and 'Metadata' dropdowns broken by OPAC jQuery upgrade
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-06-26 08:25:13 UTC
Size:
2.14 KB
patch
obsolete
>From e83826d7da786fd44aff83c311059283b48b8bd0 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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: <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> >--- > 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 @@ > <title>Koha OAI-PMH Data Provider</title> > <meta name="viewport" content="width=device-width, initial-scale=1.0" /> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> >- <script src="/opac-tmpl/bootstrap/lib/jquery/jquery.js" type="text/javascript" /> >- <script src="/opac-tmpl/bootstrap/lib/bootstrap/js/bootstrap.min.js" type="text/javascript" /> >+ <script src="/opac-tmpl/bootstrap/lib/jquery/jquery-3.4.1.min.js"></script> >+ <script src="/opac-tmpl/bootstrap/lib/jquery/jquery-migrate-3.1.0.min.js"></script> >+ <script src="/opac-tmpl/bootstrap/lib/bootstrap/js/bootstrap.min.js"></script> > <link rel="stylesheet" href="/opac-tmpl/bootstrap/css/bootstrap-theme-oai.css" type="text/css" /> > <link rel="stylesheet" href="/opac-tmpl/bootstrap/css/oai.css" type="text/css" /> > </head> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25793
:
106172
|
106173
| 106317