From 117f0fe594e04e2037f91b7e0e2b58d369a2a40a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 20 Dec 2021 13:45:04 +0100 Subject: [PATCH] Bug 29737: Fix suspend from hold list From holds list of a bibliographic record, the "unsuspend" button does not work as expected. The form is submitted but the suspension is still there. There are 3 requests, 2 GET and 1 POST. One of the GET is rejected by Firefox (NS_BINDING_ABORTED) Test plan: Place some items on hold, play with suspend/unsuspend from the hold list /cgi-bin/koha/reserve/request.pl?biblionumber=XX Signed-off-by: David Nind --- .../intranet-tmpl/prog/en/includes/holds_table.inc | 2 +- koha-tmpl/intranet-tmpl/prog/js/holds.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index 99a6bef496..28573796c8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -201,7 +201,7 @@ [% IF Koha.Preference('SuspendHoldsIntranet') %] [% UNLESS ( hold.found ) %] -