From 0c3d1ee551e3c3aab7ffe62a1bddf62256650084 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 21 Jul 2025 11:26:54 +0000 Subject: [PATCH] Bug 40395: (QA follow-up) Ensure checkboxes are unchecked after suspending To test, select a few holds to suspend (but not all). Click 'Suspend selected'. Notice the selection doesn't reset. After this patch, it does reset. Signed-off-by: David Cook --- koha-tmpl/intranet-tmpl/prog/js/holds.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js index 7669dc0f35..66c54fcd56 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -628,9 +628,7 @@ $(document).ready(function () { $("#suspend-modal-until").flatpickr().clear(); // clean the input } $("#suspend-modal").modal("hide"); - if ($(".select_hold_all").prop("checked")) { - $(".select_hold_all").click(); - } + $(".select_hold_all").click(); }); } catch (error) { if (error.status === 404) { -- 2.39.5