From 1ad04e4036b08722a6ce87d47bb9199c0eba1ed0 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Sat, 7 Nov 2020 20:16:42 -0500 Subject: [PATCH] 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 Signed-off-by: Michele Morgan Signed-off-by: Jane Sandberg --- Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 index 419e7c1069..a0387bc2e0 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 @@ -216,7 +216,7 @@ function maybeToggleNumCopies(obj) { [% l('Notify when hold is ready for pickup?') %]

- +