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

Paul POULAIN tipaul at users.sourceforge.net
Tue Mar 8 13:46:36 CET 2005


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;





More information about the Koha-cvs mailing list