Bugzilla – Attachment 190713 Details for
Bug 41182
SUSHI harvest should send a full date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41182: Pass 10 digit date to SUSHI
Bug-41182-Pass-10-digit-date-to-SUSHI.patch (text/plain), 1.24 KB, created by
David Nind
on 2025-12-24 17:42:23 UTC
(
hide
)
Description:
Bug 41182: Pass 10 digit date to SUSHI
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-12-24 17:42:23 UTC
Size:
1.24 KB
patch
obsolete
>From 80bd13f4c9639c6b55ecf590917ca3d2a75e26ea Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 4 Nov 2025 18:01:40 +0000 >Subject: [PATCH] Bug 41182: Pass 10 digit date to SUSHI > >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/ERM/EUsage/UsageDataProvider.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/ERM/EUsage/UsageDataProvider.pm b/Koha/ERM/EUsage/UsageDataProvider.pm >index 97ccac6cbb..e5058a8f3f 100644 >--- a/Koha/ERM/EUsage/UsageDataProvider.pm >+++ b/Koha/ERM/EUsage/UsageDataProvider.pm >@@ -402,8 +402,8 @@ sub _build_url_query { > $url .= '?customer_id=' . $self->customer_id; > $url .= '&requestor_id=' . $self->requestor_id if $self->requestor_id; > $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 .= '&begin_date=' . substr $self->{begin_date}, 0, 10 if $self->{begin_date}; >+ $url .= '&end_date=' . substr $self->{end_date}, 0, 10 if $self->{end_date}; > $url .= '&platform=' . $self->service_platform if $self->service_platform; > > return $url; >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41182
:
189044
|
190713
|
192041
|
192042
|
192043
|
192044
|
192045
|
192046
|
192047
|
192048
|
192049
|
192050