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 <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-03-08 13:53:17 +01:00 committed by Katrin Fischer
parent 68a615f6ee
commit e0d0f92a91
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -468,7 +468,6 @@
"serverSide": true, "serverSide": true,
ajax: { ajax: {
url: "batch_records_ajax.pl", url: "batch_records_ajax.pl",
type: "POST",
data: function ( d ) { data: function ( d ) {
d.import_batch_id = [% import_batch_id | html %]; d.import_batch_id = [% import_batch_id | html %];
return d; return d;