To replicate: 1. Enable 'OAI-PMH' syspref 2. 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 3. Click on the 'Set' and 'Metadata' dropdowns for any of the biblio records and observe nothing is displayed Doing a git bisect it was found that this bug was introduced by 8b1fb387acee35ba64f61d59fd332a79d5759e06 (Bug 14862: Upgrade jQuery from 1.7 to 3.4.1 in OPAC)
I was about to file this as well. Adding Owen hoping he might have an idea.
Created attachment 106172 [details] [review] 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.
Created attachment 106173 [details] [review] 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>
Created attachment 106317 [details] [review] 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>
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.02
backported to 19.11.x for 19.11.08
Won't be backported to oldoldstable (19.05.x), it shouldn't be affected.
Hm, it looks like this one is back on master :( I'll open a new bug linking ot this.