LP1959405 - Bootstrap opac: hold status not looking for shelf delay status user/gcollum/lp195405_Bootstrap_hold_shelf_delay_status
authorGarry Collum <gcollum@gmail.com>
Thu, 3 Feb 2022 22:40:48 +0000 (17:40 -0500)
committerGarry Collum <gcollum@gmail.com>
Thu, 3 Feb 2022 22:40:48 +0000 (17:40 -0500)
commit392b66a799160ee8d202e617c8609baadba447c9
treee3281f367d1543d66f0282de85736b0807dde052
parente7b98ca69a9d58d47fc71ea13d14ef1478c5afb2
LP1959405 - Bootstrap opac: hold status not looking for shelf delay status

This patch fixes the blank status display in the Bootstrap opac by
treating that status as a 'Waiting for Copy' status.

To Test:
As stated by Erica in LP1959405
1. Administration->Local Administration->Library Settins Editor
set Hold Shelf Status Delay to 1 minute.
2. Place a hold for a patron
3. Capture the hold.
   The opac will change from "Waiting for Copy" to a blank column.
4. Allow the delay interval to expire
   The opac will change from a blank status to "Available"

5. Apply the patch
6. Repeat 2-3.
   The opac will continue to display "Waiting for Copy"
7. Allow the delay interval to expire
   The opac will change from "Waiting for Copy" to "Available"

Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates-bootstrap/opac/parts/hold_status.tt2