From 53888f69217362eab7e027cde04969e034058784 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 11 Nov 2020 11:03:00 -0500 Subject: [PATCH 1/1] LP1903594 Bootstrap opac: suspend hold not working Fixes hold suspension at the time of the hold placement in the Bootstrap opac. And fixes the date picker validation for the activation date. To test. As a patron, place a hold in the Bootstrap Opac. At the time of placement select "Suspend this hold?" and set an activation date. In the staff client, notice that neither the suspension or activation date has been saved. Apply the patch. Repeat the above steps and check for the suspension and activation date. Place another hold with a activation date in the past. This should fail. Place a hold without "Suspend this hold" checked. Place a hold with "Suspend this hold" checked, but without an activation date. Signed-off-by: Garry Collum Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- 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 a0387bc2e0..652a0a1606 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2 @@ -256,7 +256,7 @@ function maybeToggleNumCopies(obj) { [% IF ctx.hold_data.size > 0; %]
- +