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 <david@davidnind.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Michał Kula 2023-12-20 16:00:00 +01:00 committed by Katrin Fischer
parent 002e02710b
commit 000d1d414a
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -60,7 +60,6 @@ my @es_fields;
try {
$es_record = $es->get_elasticsearch()->get({
index => $es->index_name,
type => 'data',
id => $biblionumber,
});
}