From dc9a5684f438d7b676ab52ffd2e4a73179d422eb 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 Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- 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 f6d9ef7b92..da4171571f 100644 --- a/Koha/ERM/EUsage/UsageDataProvider.pm +++ b/Koha/ERM/EUsage/UsageDataProvider.pm @@ -398,6 +398,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.5