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)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 7 Feb 2022 15:45:54 +0000 (10:45 -0500)
commit1de5464ededf2f8c55c7f94e1c53df3656cef153
treea1130e09b3506e9732471f3aebe710afa9e22366
parent3e7ffca76cda4e3f92d55769a7a5e4105f903863
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Hold.pm