LP#1570072: update hold notification methods upon preference changes
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Tue, 22 Jan 2019 17:16:54 +0000 (12:16 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 13 Dec 2019 20:16:10 +0000 (15:16 -0500)
commit2b70f499de747fa1d80cfbb567f3fa007de14be8
tree0ba96268f0b7fbf99b52eedb3e406fe46249219f
parent143f5175cd1bb6206c9a84b62513881b53c839db
LP#1570072: update hold notification methods upon preference changes

This patch adds a feature where if a patron's hold notification
preferences are changed, they are given an opportunity to have
notfication methods for their pending hold requests updated to
reflect their new prefernces.

This feature affects both the public catalog My Account interface
and the staff patron registration form. In both cases, the user
is presented with a modal (staff-side) or interstitial page (public
catalog) asking them whether to update current hold requests.

Sponsored-by: MassLNC
Additional-work-by: Mike Rylander <mrylander@gmail.com>
Additional-work-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
14 files changed:
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/myopac/holds.tt2
Open-ILS/src/templates/opac/myopac/holds/edit.tt2
Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates/opac/myopac/prefs_notify_changed_holds.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/hold_notify.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/sms_carrier_selector.tt2
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
Open-ILS/src/templates/staff/circ/patron/t_hold_notify_update.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2
Open-ILS/web/js/ui/default/opac/simple.js
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js