]> git.koha-community.org Git - koha.git/commit
Bug 35535: Allow for cancellation of holds with or without a reason
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Jan 2024 15:45:53 +0000 (15:45 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 1 Feb 2024 15:20:45 +0000 (16:20 +0100)
commitcca2fa2396243a0ccf9aee648667526b7f0de27b
treeaa78f5cf8ad8e981c06d62c9b91df170a78863e7
parentd1e3956eff6198219e5f9a5b10d64f3cc6e3aa74
Bug 35535: Allow for cancellation of holds with or without a reason

TO TEST:
1. Have a waiting hold on a particular barcode
2. Have at least 1 HOLD_CANCELLATION auth value
3. Check in the barcode and try to cancel the hold on the modal while
   selecting a reason.
=> SUCCESS: You can cancel a hold when selecting a reason.
4. Repeat 1-3 but not selecting any reason.
=> SUCCESS: Hold cancelled correctly.
5. Delete all HOLD_CANCELLATION auth values.
6. Repeat Try 1-3
=> SUCCESS: No reason displayed
=> FAIL: Cancelling does nothing. There's an error in the browser
   inspector
7. Apply this patch
8. Repeat 1-3
=> SUCCESS: No reason displayed
=> SUCCESS: Cancelling works
9. Sign off :-D

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: amended the test plan to make it clearer
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c1bf46d1e77c4b4bc8d6c6c1df0a5d5d9a953bfd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt