From 3d64dab8cd691533f332bf85b835e46c4b9b284e Mon Sep 17 00:00:00 2001 From: =?UTF-8?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). --- 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.42.0.windows.1