From 6dbb1ea41dc0cec3cc2a3076dba0606d52d366e7 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 --- 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 672fe421c5..f49c17a3b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt @@ -293,7 +293,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.30.2