Bugzilla – Attachment 189044 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.19 KB, created by
Nick Clemens (kidclamp)
on 2025-11-04 18:02:05 UTC
(
hide
)
Description:
Bug 41182: Pass 10 digit date to SUSHI
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-11-04 18:02:05 UTC
Size:
1.19 KB
patch
obsolete
>From 1f19e7a99465b75b715f38612fd245feee10fc0d 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 > >--- > 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 97ccac6cbb4..e5058a8f3f2 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