]> git.koha-community.org Git - koha.git/commit
Bug 37385: Fix Transfer not triggering automatically when cancelling a hold by checki...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 18 Jul 2024 12:54:30 +0000 (12:54 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 24 Jul 2024 20:15:28 +0000 (20:15 +0000)
commitf12ddeacbc47a67194a8a1c008b017706276fcea
tree0f65b44f8c7c064a119745824fd78aa7c5a75e94
parent1955ec2a7dbbe02c0c9351b5ca95a0ba4aea672e
Bug 37385: Fix Transfer not triggering automatically when cancelling a hold by checking in an item

Upadates for CSRF are inadvertently stopping AddReturn from being trigger
when a hold is canceled. This is necessary to generate the transfer
back to the originating library.

Test Plan:
1) Find item with a waiting hold, and check it in
2) In the popup notifying me of the waiting hold, select 'Cancel hold'
3) Note no second popup appears notifying you of the need to transfer the item to its home library
4) Apply this patch
5) Restart all the things!
6) Repeat steps 1-2
7) Second popup appears!

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 554efbe35483dbc3dd7615f7feeaa6edf14619e6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
circ/returns.pl