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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 21 Feb 2022 15:15:53 +0000 (15:15 +0000)
commit96f3f868823bb493c5c9881c2955f19ef22d26ec
tree0dfc9d9d468de20f5f9f4453a3a25a5811bfb0bd
parentac46f261b68cdb2656b689e33b5dd58b429f9167
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>
(cherry picked from commit 1de5464ededf2f8c55c7f94e1c53df3656cef153)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/Hold.pm