lp1903424 Bootstrap opac notification methods not saving
authorGarry Collum <gcollum@gmail.com>
Sun, 8 Nov 2020 01:16:42 +0000 (20:16 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 25 Nov 2020 17:21:15 +0000 (12:21 -0500)
commitb3a3a7068b8781e3bb25a2ca616951ee3e3831fd
tree0d049ea06a8735cb933bcc5485016180b1cc9b8d
parentf7dd5692f12e1268b1e7ae369c231d4fdb2c62d6
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>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2