Bug 27571: "Add to lists" on MARC and ISBD view of OPAC detail page doesn't open...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 29 Jan 2021 13:19:12 +0000 (13:19 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 5 Feb 2021 15:58:36 +0000 (16:58 +0100)
commit032fffa4b59154dae9d4b2c7ca5bbffb1142b565
treee32f2522250734bff889a4886fe2273cbdd96aa5
parent07e664716783bade70c8df157f80414ce2c073d2
Bug 27571: "Add to lists" on MARC and ISBD view of OPAC detail page doesn't open in new window

This page corrects the global click handler in the OPAC so that all
"addtoshelf" links will work correctly to trigger the popup window for
adding titles to a list.

To test, apply the patch and test the process of adding a title to a
list in the OPAC from various places:

- Search results
- Bibliographic detail page (normal)
- Bibliographic detail page (MARC view)
- Bibliographic detail page (ISBD view)

Test both adding to an existing list and adding to a new list.
Everything should work correctly.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1cc252c145ff20cc01756a5aa3dbeb16cfb90e77)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc