From 43d1b353bb210e72efe552125df5279cf311aa4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Kula?= <148193449+mkibp@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:00:00 +0100 Subject: [PATCH] Bug 35618: Remove deprecated parameter "type" from showelastic.pl page This is a follow-up to Bug 33353. Types are gone in ES8 and deprecated in ES7. Support for ES6 is already dropped in Koha master. The parameter has to be removed, otherwise an exception is thrown with ES8 (which is listed as officially supported by Koha now). Signed-off-by: David Nind Signed-off-by: Julian Maurice Signed-off-by: Katrin Fischer (cherry picked from commit 000d1d414a73b78445f5b0a187cc2f2a4369dc26) Signed-off-by: Fridolin Somers --- catalogue/showelastic.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/catalogue/showelastic.pl b/catalogue/showelastic.pl index d9b2c53dbd..0b19704c5b 100755 --- a/catalogue/showelastic.pl +++ b/catalogue/showelastic.pl @@ -60,7 +60,6 @@ my @es_fields; try { $es_record = $es->get_elasticsearch()->get({ index => $es->index_name, - type => 'data', id => $biblionumber, }); } -- 2.39.5