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>
Thu, 26 Sep 2019 12:05:42 +0000 (08:05 -0400)
commit36c6859a66213336b6edf6ae4948281e60c8c787
tree58e38fade7f167d3fa11a750c56b69a8d46d38d3
parent9c534eabf8f1ff2ff990586cc3a76779aa054829
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