When adding a record to a list from the MARC or ISBD view, the add to list functionality doesn't open in a new window, but the page is reloaded.
Created attachment 116027 [details] [review] 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.
Created attachment 116068 [details] [review] 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>
Created attachment 116092 [details] [review] 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>
Thx for the quick fix!
Pushed to master for 21.05, thanks to everybody involved!
Pushed to 20.11.x for 20.11.03
Pushed to 20.05.x for 20.05.09
Not backported to oldoldstable (19.11.x). Feel free to ask if it's needed.