koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/acqui.simple addbiblio.pl,1.52.2.3,1.52.2.4


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/acqui.simple addbiblio.pl,1.52.2.3,1.52.2.4
Date: Tue, 08 Mar 2005 04:46:36 -0800

Update of /cvsroot/koha/koha/acqui.simple
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21413/acqui.simple

Modified Files:
      Tag: rel_2_2
        addbiblio.pl 
Log Message:
adding button to duplicate the biblio

Index: addbiblio.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbiblio.pl,v
retrieving revision 1.52.2.3
retrieving revision 1.52.2.4
diff -C2 -r1.52.2.3 -r1.52.2.4
*** addbiblio.pl        1 Mar 2005 13:22:08 -0000       1.52.2.3
--- addbiblio.pl        8 Mar 2005 12:46:31 -0000       1.52.2.4
***************
*** 486,489 ****
--- 486,497 ----
  } else {
  
#------------------------------------------------------------------------------------------------------------------------------
+       # If we're in a duplication case, we have to set to "" the bibid and 
biblionumber
+       # as we'll save the biblio as a new one.
+       if ($op eq "duplicate")
+       {
+               $bibid = "";
+               $oldbiblionumber= "";
+       }
+  
        build_tabs ($template, $record, $dbh,$encoding);
        build_hidden_data;




reply via email to

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