From 5b6fddb1d946eac74fd5e323241b2cc8b3e66ca9 Mon Sep 17 00:00:00 2001 From: Brendan Lawlor Date: Mon, 11 Mar 2024 17:32:08 +0000 Subject: [PATCH] Bug 36195: Replace POST in itemsearch.tt with GET We retrieve a list of records for DT, it does not need to be a POST request. Test plan: 1. Try an item search 2. The page loads but pops an alert that says "403: Forbidden" and table stays empty 3. Apply patch 4. Try an item search again and the table loads results Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 1 - 1 file changed, 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index b3a89e508c..db703115b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -478,7 +478,6 @@ "processing": true, "ajax": { url: '/cgi-bin/koha/catalogue/itemsearch.pl', - type: 'POST', data: function ( d ) { for (i in params) { d[params[i].name] = params[i].value; -- 2.39.5