]> git.evergreen-ils.org Git - Evergreen.git/commit
lp1903424 Bootstrap opac notification methods not saving
authorGarry Collum <gcollum@gmail.com>
Sun, 8 Nov 2020 01:16:42 +0000 (20:16 -0500)
committerJane Sandberg <sandbej@linnbenton.edu>
Fri, 18 Dec 2020 18:51:07 +0000 (10:51 -0800)
commit1ad04e4036b08722a6ce87d47bb9199c0eba1ed0
tree6e0dcc22b0c2104e5a300b1e1a123426c9baa6fa
parent0297d91ccfb3e5f7d321e441458cbfe167e690ac
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>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2