Bugzilla – Attachment 13975 Details for
Bug 7678
Statistics wizard: patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7678: Adds extended patron attributes in patron reports
Bug-7678-Adds-extended-patron-attributes-in-patron.patch (text/plain), 975 bytes, created by
Julian Maurice
on 2012-12-10 11:26:31 UTC
(
hide
)
Description:
Bug 7678: Adds extended patron attributes in patron reports
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-12-10 11:26:31 UTC
Size:
975 bytes
patch
obsolete
>From 3b856df9c2179d60d616babfe4cdaf8cb95131f5 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 10 Dec 2012 12:23:09 +0100 >Subject: [PATCH] Bug 7678: Adds extended patron attributes in patron reports > >Fix bug that prevented zero values to be shown in the results. >--- > reports/borrowers_stats.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/reports/borrowers_stats.pl b/reports/borrowers_stats.pl >index dafa834..2299bea 100755 >--- a/reports/borrowers_stats.pl >+++ b/reports/borrowers_stats.pl >@@ -355,7 +355,7 @@ sub calculate { > $sth2->execute(@strparams2); > while (my ($celvalue) = $sth2->fetchrow) { > my %cell; >- if ($celvalue) { >+ if (defined $celvalue) { > $cell{coltitle} = $celvalue; > # $cell{coltitle_display} = ($colfield eq 'branchcode') ? $branches->{$celvalue}->{branchname} : $celvalue; > $cell{coltitle_display} = $cathash{$celvalue} if ($column eq 'categorycode'); >-- >1.7.2.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 7678
:
11445
|
11597
|
11687
|
12742
|
12753
|
12941
|
12942
|
13829
|
13830
|
13975
|
14710
|
14728