[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Members.pm [rel_3_0]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/C4 Members.pm [rel_3_0] |
Date: |
Mon, 27 Nov 2006 10:27:47 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/11/27 10:27:47
Modified files:
C4 : Members.pm
Log message:
changing timestamp to returndate in
GetBorrowersWhoHasIssuesHistoryOlderHistoryThan
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Members.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.32.2.21&r2=1.32.2.22
Patches:
Index: Members.pm
===================================================================
RCS file: /sources/koha/koha/C4/Members.pm,v
retrieving revision 1.32.2.21
retrieving revision 1.32.2.22
diff -u -b -r1.32.2.21 -r1.32.2.22
--- Members.pm 24 Nov 2006 13:56:19 -0000 1.32.2.21
+++ Members.pm 27 Nov 2006 10:27:47 -0000 1.32.2.22
@@ -17,7 +17,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
-# $Id: Members.pm,v 1.32.2.21 2006/11/24 13:56:19 btoumi Exp $
+# $Id: Members.pm,v 1.32.2.22 2006/11/27 10:27:47 toins Exp $
use strict;
require Exporter;
@@ -29,7 +29,7 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-$VERSION = do { my @v = '$Revision: 1.32.2.21 $' =~ /\d+/g; shift(@v) . "." .
join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.32.2.22 $' =~ /\d+/g; shift(@v) . "." .
join( "_", map { sprintf "%03d", $_ } @v ); };
=head1 NAME
@@ -1717,7 +1717,7 @@
$results = &GetBorrowersWithIssuesHistoryOlderThan($date)
-this function get all borrowers who an issue history older than I<$date> given
on input arg.
+this function get all borrowers who has an issue history older than I<$date>
given on input arg.
I<$result> is a ref to an array which all elements are a hashref.
This hashref is containt the number of time this borrowers has borrowed before
I<$date> and the borrowernumber.
@@ -1731,7 +1731,7 @@
my $query = "
SELECT count(borrowernumber) as n,borrowernumber
FROM issues
- WHERE timestamp < ?
+ WHERE returndate < ?
GROUP BY borrowernumber
";
my $sth = $dbh->prepare($query);
- [Koha-cvs] koha/C4 Members.pm [rel_3_0], Bruno Toumi, 2006/11/09
- [Koha-cvs] koha/C4 Members.pm [rel_3_0], Antoine Farnault, 2006/11/15
- [Koha-cvs] koha/C4 Members.pm [rel_3_0], Antoine Farnault, 2006/11/16
- [Koha-cvs] koha/C4 Members.pm [rel_3_0], Antoine Farnault, 2006/11/17
- [Koha-cvs] koha/C4 Members.pm [rel_3_0],
Antoine Farnault <=
- [Koha-cvs] koha/C4 Members.pm [rel_3_0], Antoine Farnault, 2006/11/27
- [Koha-cvs] koha/C4 Members.pm [rel_3_0], Antoine Farnault, 2006/11/30