From ca667548f1d0866bfde5189a5c42a605346b8d15 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 18 Sep 2024 15:55:51 +0000 Subject: [PATCH] Bug 37856: Append platform parameter to SUSHI url if defined --- Koha/ERM/EUsage/UsageDataProvider.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/ERM/EUsage/UsageDataProvider.pm b/Koha/ERM/EUsage/UsageDataProvider.pm index e85ee58ce8..a741a0639a 100644 --- a/Koha/ERM/EUsage/UsageDataProvider.pm +++ b/Koha/ERM/EUsage/UsageDataProvider.pm @@ -399,6 +399,7 @@ sub _build_url_query { $url .= '&api_key=' . $self->api_key if $self->api_key; $url .= '&begin_date=' . substr $self->{begin_date}, 0, 7 if $self->{begin_date}; $url .= '&end_date=' . substr $self->{end_date}, 0, 7 if $self->{end_date}; + $url .= '&platform=' . $self->service_platform if $self->service_platform; return $url; } -- 2.39.2