Bug 21652: Only set waitingdate to today if there is no waitingdate already
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 6 Jan 2022 15:16:05 +0000 (15:16 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 29 Jan 2022 07:52:54 +0000 (21:52 -1000)
commit7b16679b2061722caa32632f9c7e8d81ca3a7623
treeff71579d87552f773160f94e40877e2fa8a16d6c
parent1ce59fbdfe6b6ecb946bcffa226b4485732f985b
Bug 21652: Only set waitingdate to today if there is no waitingdate already

1- Find or create a hold with a waitingdate other than today
2- Check the item in to generate a new hold alert
3- Select "Confirm and Print"
4- Verify that the waiting date has changed to the current date
5- Apply patch
6- Try 1-3 again, if a waitingdate already exists it should not change
7. Try an item with no waitingdate, it should properly update to today

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Hold.pm