Bugzilla – Attachment 171774 Details for
Bug 37856
Some SUSHI providers require the platform parameter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37856: Consider absence of 'Report_Items'
Bug-37856-Consider-absence-of-ReportItems.patch (text/plain), 1008 bytes, created by
Pedro Amorim
on 2024-09-19 14:25:55 UTC
(
hide
)
Description:
Bug 37856: Consider absence of 'Report_Items'
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-09-19 14:25:55 UTC
Size:
1008 bytes
patch
obsolete
>From 53ce7ff5b5e67dbcaea1bdf740628a1c957c06e4 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 19 Sep 2024 14:00:41 +0000 >Subject: [PATCH] Bug 37856: Consider absence of 'Report_Items' > >The SUSHI provider in question for this patchset also does not return any >Report_Items entry. This patch accounts for that. >--- > Koha/ERM/EUsage/UsageDataProvider.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/ERM/EUsage/UsageDataProvider.pm b/Koha/ERM/EUsage/UsageDataProvider.pm >index 8d065ac494..a9e59ad25a 100644 >--- a/Koha/ERM/EUsage/UsageDataProvider.pm >+++ b/Koha/ERM/EUsage/UsageDataProvider.pm >@@ -487,7 +487,7 @@ sub _sushi_errors { > return 1; > } > >- if ( scalar @{ $decoded_response->{Report_Items} } == 0 ) { >+ if ( $decoded_response->{Report_Items} && scalar @{ $decoded_response->{Report_Items} } == 0 ) { > $self->{job_callbacks}->{add_message_callback}->( > { > type => 'error', >-- >2.39.2
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 37856
:
171680
|
171681
|
171682
|
171683
|
171773
|
171774
|
171775
|
171893
|
171894
|
171895
|
171896
|
171897
|
171898
|
171899
|
172040
|
172042
|
172043
|
172044
|
172045
|
172046
|
172047
|
172048
|
172155
|
172156
|
172215