From 3318adf48d61c28f32426f03e4559e4c58211bb9 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 7 Aug 2023 14:14:40 +0000 Subject: [PATCH] Bug 34587: Add a report row for each existing metric_type in a sushi result's performance instance, instead of for reach existing metric_type in the sushi response header, because that might not exist. Signed-off-by: Jessica Zairo Signed-off-by: Michaela Sieber Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- Koha/ERM/UsageDataProvider.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/Koha/ERM/UsageDataProvider.pm b/Koha/ERM/UsageDataProvider.pm index d3e096cd6c..62ade581c0 100644 --- a/Koha/ERM/UsageDataProvider.pm +++ b/Koha/ERM/UsageDataProvider.pm @@ -616,9 +616,6 @@ sub _COUNTER_report_body { my $header = $self->{sushi}->{header}; my $body = $self->{sushi}->{body}; - my @metric_types_string = $self->_get_SUSHI_Name_Value( $header->{Report_Filters}, "Metric_Type" ); - my @metric_types = split( /\|/, $metric_types_string[0] ); - my @report_body = (); my $total_records = 0; -- 2.39.5