From b61414697254dee5c2b3539c04cda8133a2b2f50 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 3 May 2023 16:54:06 +0200 Subject: [PATCH] Bug 33591: Restore auto-select of checkboxes of src record when merging When merging bib records the first tab (the source record) should have all the checkboxes checked by default. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt index 995321b4aa..1dce7fe145 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt @@ -295,7 +295,7 @@ div#result { margin-top: 1em; } // Uncheck all checkboxes in both tabs, then check all checkboxes in first tab // to avoid inconsistencies from a page refresh. $("#tabs input[type='checkbox']").prop("checked", false); - $("#tabrecord[% ref_biblionumber | html %] input[type='checkbox']").prop("checked", true ); + $("#tabrecord[% ref_biblionumber | html %]_panel input[type='checkbox']").prop("checked", true ); //Set focus to cataloging search $("input[name=q]:eq(0)").focus(); -- 2.39.5