koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] Changes to koha/reports/issues_stats.pl [rel_2_2]


From: paul poulain
Subject: [Koha-cvs] Changes to koha/reports/issues_stats.pl [rel_2_2]
Date: Thu, 01 Dec 2005 09:01:18 -0500

Index: koha/reports/issues_stats.pl
diff -u koha/reports/issues_stats.pl:1.7.2.6 
koha/reports/issues_stats.pl:1.7.2.7
--- koha/reports/issues_stats.pl:1.7.2.6        Mon Nov 28 10:49:24 2005
+++ koha/reports/issues_stats.pl        Thu Dec  1 14:01:17 2005
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: issues_stats.pl,v 1.7.2.6 2005/11/28 10:49:24 hdl Exp $
+# $Id: issues_stats.pl,v 1.7.2.7 2005/12/01 14:01:17 tipaul Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -455,7 +455,7 @@
                my ($bookcount) = $rqbookcount->fetchrow;
                $strcalc .= "100*(COUNT(DISTINCT issues.itemnumber))/ 
$bookcount " ;
        }
-       $strcalc .= "FROM statistics,borrowers,issues where 
(statistics.borrowernumber=borrowers.borrowernumber) and 
issues.borrowernumber=borrowers.borrowernumber and 
issues.itemnumber=statistics.itemnumber ";
+       $strcalc .= "FROM statistics,borrowers where 
(statistics.borrowernumber=borrowers.borrowernumber) ";
 
        @$filters[0]=~ s/\*/%/g if (@$filters[0]);
        $strcalc .= " AND statistics.datetime > '" . @$filters[0] ."'" if ( 
@$filters[0] );




reply via email to

[Prev in Thread] Current Thread [Next in Thread]