Bug 32998 moved OPAC third-party assets from opac-tmpl/bootstrap/lib to opac-tmpl/lib The XSLT file for OAI needs an update to account for this move
Created attachment 152548 [details] [review] 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
Created attachment 152572 [details] [review] 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>
Created attachment 152618 [details] [review] 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>
Pushed to master for 23.11. Nice work everyone, thanks!
Pushed to 23.05.x for 23.05.01
Not backporting to 22.11.x - missing dependency 32998