From 3af562eac2e1db0be902f0461b8a5c8dba5635fd Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Fri, 6 Mar 2026 17:58:16 +0100 Subject: [PATCH] Bug 41580: (QA follow-up) Fix variable name mismatch in batch delete records MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The tidy declared const record_type but the code references recordtype (no underscore), causing a ReferenceError - Rename to match the existing usage To test: - Go to Tools → Batch delete records - Upload/select bibliographic records with checked out items - Verify the red cross and yellow highlight appear for non-deletable records Signed-off-by: Paul Derscheid --- .../intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt index 324f0970676..77e88909310 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -264,7 +264,7 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %]