]> git.evergreen-ils.org Git - evergreen/pines.git/commit
LP1903594 Bootstrap opac: suspend hold not working
authorGarry Collum <gcollum@gmail.com>
Wed, 11 Nov 2020 16:03:00 +0000 (11:03 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 25 Nov 2020 17:46:31 +0000 (12:46 -0500)
commit5cb968af82a2208c3eaa8551d2a546cf8d900a47
tree3c99fce23f917a7e23d5c9a82334905831e2f7d5
parentbd76f3b63f34b7c3573be5191a0a0572875aa5be
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 <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates-bootstrap/opac/parts/place_hold.tt2