[Koha-cvs] koha/C4 Reserves2.pm [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Fri Nov 10 10:44:05 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	06/11/10 09:44:05

Modified files:
	C4             : Reserves2.pm 

Log message:
	update waitingdate when setting status to W (waiting)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Reserves2.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.46.2.3&r2=1.46.2.4

Patches:
Index: Reserves2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Reserves2.pm,v
retrieving revision 1.46.2.3
retrieving revision 1.46.2.4
diff -u -b -r1.46.2.3 -r1.46.2.4
--- Reserves2.pm	16 Oct 2006 09:22:47 -0000	1.46.2.3
+++ Reserves2.pm	10 Nov 2006 09:44:05 -0000	1.46.2.4
@@ -20,7 +20,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Reserves2.pm,v 1.46.2.3 2006/10/16 09:22:47 toins Exp $
+# $Id: Reserves2.pm,v 1.46.2.4 2006/11/10 09:44:05 btoumi Exp $
 
 use strict;
 require Exporter;
@@ -31,7 +31,7 @@
 my $library_name = C4::Context->preference("LibraryName");
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.46.2.3 $' =~ /\d+/g; shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.46.2.4 $' =~ /\d+/g; shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v ); };
 
 =head1 NAME
 
@@ -799,6 +799,7 @@
 		UPDATE reserves
 		SET    priority = 0,
 		       found = 'W',
+			waitingdate=now(),
 			   itemnumber = ?
         WHERE borrowernumber = ?
           AND biblionumber = ?





More information about the Koha-cvs mailing list