Bug 32765: Retry transfer after cancelling hold
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 31 Jan 2023 08:20:15 +0000 (09:20 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 14 Sep 2023 18:25:35 +0000 (08:25 -1000)
commit4352e97a282ce89708af61970e89ca80daf87bc2
tree2eadba6bca360a938ed55d9355cef3f9e24d304d
parent9b1ff4d540e38c984d785ae10b56639163fe9633
Bug 32765: Retry transfer after cancelling hold

When trying to manually transfer an item that is on hold, we have the
choice to cancel the hold and try the transfer again. When choosing
this option, the hold is correctly cancelled but the transfer is not
tried again.
This patch fixes that

Test plan:
1. Place a hold on a specific item
2. Try to transfer it manually (Circulation ยป Transfer)
3. Choose the option to "Cancel hold and then attempt transfer"
4. See that the hold was cancelled, but no transfer was made
5. Apply the patch
6. Repeat step 1-3
7. See that the hold was cancelled, and the transfer was made

Signed-off-by: Nicolas Giraud <nicolas.giraud@inlibro.com>
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 68b97cc7e4c60e6b84b9a7554e29c1c32453f685)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt