koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_3_0]


From: Antoine Farnault
Subject: [Koha-cvs] koha/C4/Circulation Circ2.pm [rel_3_0]
Date: Thu, 11 Jan 2007 14:23:55 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        07/01/11 14:23:55

Modified files:
        C4/Circulation : Circ2.pm 

Log message:
        log the biblionumber instead of the barcode.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.114.2.31&r2=1.114.2.32

Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.114.2.31
retrieving revision 1.114.2.32
diff -u -b -r1.114.2.31 -r1.114.2.32
--- Circ2.pm    10 Jan 2007 16:46:28 -0000      1.114.2.31
+++ Circ2.pm    11 Jan 2007 14:23:55 -0000      1.114.2.32
@@ -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: Circ2.pm,v 1.114.2.31 2007/01/10 16:46:28 toins Exp $
+# $Id: Circ2.pm,v 1.114.2.32 2007/01/11 14:23:55 toins Exp $
 
 use strict;
 require Exporter;
@@ -41,7 +41,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.114.2.31 $' =~ /\d+/g; 
shift(@v).".".join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.114.2.32 $' =~ /\d+/g; 
shift(@v).".".join( "_", map { sprintf "%03d", $_ } @v ); };
 
 =head1 NAME
 
@@ -1376,7 +1376,7 @@
         );
     }
     
-    
&logaction(C4::Context->userenv->{'number'},"CIRCULATION","ISSUE",$borrower->{'borrowernumber'},$barcode)
 
+    
&logaction(C4::Context->userenv->{'number'},"CIRCULATION","ISSUE",$borrower->{'borrowernumber'},$iteminformation->{'biblionumber'})
 
         if C4::Context->preference("IssueLog");
     
 }
@@ -1652,7 +1652,7 @@
         $borrower->{'borrowernumber'}
     );
     
-    
&logaction(C4::Context->userenv->{'number'},"CIRCULATION","RETURN",$borrower->{'borrowernumber'},$barcode)
 
+    
&logaction(C4::Context->userenv->{'number'},"CIRCULATION","RETURN",$currentborrower,$iteminformation->{'biblionumber'})
 
         if C4::Context->preference("ReturnLog");
         
     return ( $doreturn, $messages, $iteminformation, $borrower );




reply via email to

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