Bugzilla – Attachment 45265 Details for
Bug 15250
Software error: Can't locate object method "field" via package "aqorders.datereceived" in reports/acquisitions_stats.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15250: Fix Perl error on acqisition stats page
Bug-15250-Fix-Perl-error-on-acqisition-stats-page.patch (text/plain), 1.67 KB, created by
Jonathan Druart
on 2015-12-01 14:14:52 UTC
(
hide
)
Description:
Bug 15250: Fix Perl error on acqisition stats page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-12-01 14:14:52 UTC
Size:
1.67 KB
patch
obsolete
>From 29b1c2988904d2cb7db62feb4c8a15fd6a51cc1d Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 25 Nov 2015 18:18:04 +0100 >Subject: [PATCH] Bug 15250: Fix Perl error on acqisition stats page > >To test: >- Go to reports -> Acquisitions statistics >- Populate with the following values: > > Acquisitions statistics > Received on. > Row: checked > Column: checked > From: 01/01/2015 > To: Un-selected > > Cell value > Count items > > Output: To screen into the browser: checked > >- Running the report will trigger the following error: > > Software error: > Can't locate object method "field" via package "aqorders.datereceived" (perhaps you forgot to load "aqorders.datereceived"?) at /usr/share/koha/intranet/cgi-bin/reports/acquisitions_stats.pl line 293. > >- Apply the patch and repeat test >- Verify the report now works correctly > >Note: Patch was created from notes and suggested > fix on the bug report, written by Barton Chittenden. > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > reports/acquisitions_stats.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl >index 58e3fd9..62895c6 100755 >--- a/reports/acquisitions_stats.pl >+++ b/reports/acquisitions_stats.pl >@@ -284,7 +284,7 @@ sub calculate { > } elsif ( $rodsp == 3 ) { > $field{$a} = "Year($a)"; > } else { >- field{$a} = $a; >+ $field{$a} = $a; > } > } > elsif ( $_ =~ /bookseller/ ) { >-- >2.1.0
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 15250
:
45171
|
45173
| 45265