From e0d0f92a91db5114acc8e4f0d9f63d14f9c870e3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 8 Mar 2024 13:53:17 +0100 Subject: [PATCH] Bug 36195: Replace POST batch_records_ajax.pl with GET We retrieve a list of records for DT, it does not need to be a POST request. Test plan: 1. Stage a batch 2. When it's done, click on "view batch" => Without this patch the page loads but pops an alert that says "403: Forbidden" and table stays empty Signed-off-by: Katrin Fischer --- .../intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 1 - 1 file changed, 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 54e2de41b2..f07f35a220 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -468,7 +468,6 @@ "serverSide": true, ajax: { url: "batch_records_ajax.pl", - type: "POST", data: function ( d ) { d.import_batch_id = [% import_batch_id | html %]; return d;