]> git.koha-community.org Git - koha.git/commit
Bug 28130: Manage subscription alerts on OPAC
authorAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 24 May 2023 21:53:38 +0000 (21:53 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 11 Oct 2023 13:31:38 +0000 (10:31 -0300)
commite790f75c0dedd30b20ce4bf8828954a64a5520e5
tree0fe6c32bccb870d0be5d3d62bff005f0616c089a
parent84e5c570db97fe21997a89ead337f9008f57dd4c
Bug 28130: Manage subscription alerts on OPAC

This patch adds an 'Alert subscriptions' tab to the patron's account on the OPAC, so they can easily view or cancel email alerts they have subscribed to.

To test:

1. Subscribe to email alerts for one or more subscriptions via the OPAC
2. Go to your account, notice the new 'Alert subscriptions' menu option, click here
3. Confirm your subscribed alerts show here. Confirm the table sorting works etc (JS enabled).
4. Test unsubscribing from email alerts, make sure the confirmation pop-up works as expected (JS enabled).
5. Confirm that, when unsubscribing, you are redirected back to this page.
6. Confirm the menu option disappears from the left sidebar navigation if you have no alert subscriptions.

Sponsored-by: Bibliotheksservice-Zentrum Baden-Wuerttemberg
Signed-off-by: Christian Stelzenmüller <christian.stelzenmueller@bsz-bw.de>
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscriptions.tt [new file with mode: 0644]
opac/opac-alert-subscribe.pl
opac/opac-alert-subscriptions.pl [new file with mode: 0755]