LP195405-TPac: hold status not looking for shelf delay status user/gcollum/lp195405_TPac_hold_shelf_delay_status
authorGarry Collum <gcollum@gmail.com>
Thu, 3 Feb 2022 22:57:45 +0000 (17:57 -0500)
committerGarry Collum <gcollum@gmail.com>
Thu, 3 Feb 2022 22:57:45 +0000 (17:57 -0500)
commit0f07e9d1bf1ab84ca2dbd698887490bfa996de9a
tree6cea1f836485b752a01c6fe560ea2cf5ba1afaf1
parente7b98ca69a9d58d47fc71ea13d14ef1478c5afb2
LP195405-TPac: hold status not looking for shelf delay status

This patch fixes the blank status display in the TPac 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/opac/parts/hold_status.tt2