From 3ba21c45244068c8c84c16bf43dd49a5b972cccd 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 --- 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 b13a760925..fe49bb1c95 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