[Koha-cvs] koha/acqui.simple saveitem.pl [rel_2_2]

Waylon Robertson wrobertson1981 at yahoo.co.nz
Sun Jan 28 00:27:49 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Waylon Robertson <genji>	07/01/27 23:27:48

Modified files:
	acqui.simple   : saveitem.pl 

Log message:
	itemnotes are now saved in the right place, and biblioitem notes now get saved, before, they didn't.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/acqui.simple/saveitem.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.11&r2=1.11.2.1

Patches:
Index: saveitem.pl
===================================================================
RCS file: /sources/koha/koha/acqui.simple/Attic/saveitem.pl,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -b -r1.11 -r1.11.2.1
--- saveitem.pl	19 Nov 2004 16:41:49 -0000	1.11
+++ saveitem.pl	27 Jan 2007 23:27:47 -0000	1.11.2.1
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: saveitem.pl,v 1.11 2004/11/19 16:41:49 tipaul Exp $
+# $Id: saveitem.pl,v 1.11.2.1 2007/01/27 23:27:47 genji Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -34,7 +34,7 @@
     homebranch       => $input->param('homebranch'),
     holdingbranch       => $input->param('homebranch'),
     replacementprice => $input->param('replacementprice')?$input->param('replacementprice'):"",
-    itemnotes        => $input->param('notes')?$input->param('notes'):""
+    itemnotes        => $input->param('itemnotes')?$input->param('itemnotes'):""
 }; # my $item
 my $biblioitem       = {
     biblionumber      => $biblionumber,
@@ -54,7 +54,7 @@
     volumeddesc       => $input->param('volumeddesc')?$input->param('volumeddesc'):"",
     pages             => $input->param('pages')?$input->param('pages'):"",
     size              => $input->param('size')?$input->param('size'):"",
-    notes             => $input->param('itemnotes')?$input->param('itemnotes'):""
+    bnotes             => $input->param('notes')?$input->param('notes'):""
 }; # my biblioitem
 my $newgroup = 0;
 my $website  = 0;





More information about the Koha-cvs mailing list