From 1e1e14179d25374359d3f51824d2d4abdca782cc Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 27 Feb 2024 11:02:15 +0000 Subject: [PATCH] Bug 36103: Remove cancel-hold class 1. Open the "Holds" tab of a record with an item level hold. 2. Select a patron from the patron search. 3. Click on the "Cancel hold" link. (Link appears as it should, e.g. "modrequest.pl?CancelBiblioNumber=58&CancelBorrowerNumber=5&CancelItemnumber=125"). 4. Popup appears. Click "Confirm cancellation". 5. Page loads. Instead of the correct data for the hold to cancel, all of the values in the URL are null, i.e. "request.pl?action=cancel&borrowernumber=undefined&biblionumber=undefined&reserve_id=undefined". The hold is not cancelled. 6. Apply patch. Repeat. Notice it now cancels the hold as expected. --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 025d5b0ca15..c01916097ae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -874,7 +874,7 @@ On hold expected at [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] [% END %] [% END %] - Cancel hold + Cancel hold [% END # /IF itemloo.nocancel %] [% ELSE %] Not on hold -- 2.30.2