From e89a788302ba1982d1361328621d7dd64f473e3f Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 17 Jan 2024 15:45:53 +0000 Subject: [PATCH] Bug 35535: Allow for cancellation of holds with or without a reason TO TEST: 1. APPLY PATCH 2. Have at least 1 HOLD_CANCELLATION auth value. 3. Check in a waiting hold and make sure you can cancel a hold when selecting the reason. 4. Also try a cancelling this hold without giving a reason. 5. Delete all HOLD_CANCELLATION auth values. 6. Try checking in another hold, there should be no dropdown for choosing a reason. 7. The hold should cancel. --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 2abde7f9c5..cbf476b0d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -705,7 +705,7 @@ [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] [% IF hold_cancellation.count %]