lp1903424 Bootstrap opac notification methods not saving user/gcollum/lp1903424-bootstrap-email-phone-hold-notification
authorGarry Collum <gcollum@gmail.com>
Sun, 8 Nov 2020 01:16:42 +0000 (20:16 -0500)
committerGarry Collum <gcollum@gmail.com>
Sun, 8 Nov 2020 01:16:42 +0000 (20:16 -0500)
commite615251f0c20bf6f3c920e5a2511ca734e8b8179
treee844904f003a9de69dec928712aa7c70686a5928
parentf07a7888b9d5368308218a32ca330eeaa1ae633c
lp1903424 Bootstrap opac notification methods not saving

The hold and email hold notification methods in the Bootstrap opac do not save to the database.
This patch fixes that behavior.

To test in concerto.
1. Enter an email address into a patron record.
2. Place a hold in the Bootstrap Opac logged in as this patron.
3. For notification, select Yes for email, and Yes by phone. Enter a phone number.
4. Go to the staff interface and observe that the hold for this patron does not have the Notifications Phone set, and Notify by Email is No.
5. Apply the patch.
6. Place another hold for this patron using the same notification settings.  The Notifications Phone is now set, and Notify by Email is yes.
7. Use a combination of notification settings for other holds to verify that setting a phone or email notification method is set or not depending on what is selected.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2