[Bug 46] addbooks.pl and marcimport.pl don't autogenerate barcodes the same
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=46 tonnesen@cmsd.bc.ca changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|chris@katipo.co.nz |tonnesen@cmsd.bc.ca ------- Additional Comments From tonnesen@cmsd.bc.ca 2002-06-28 04:17 ------- # Modified saas@users.sf.net 12:00 01 April 2001 # The biblioitemnumber was not correctly initialised # The max(barcode) value was broken - koha 'barcode' is a string value! # - If left blank, barcode value now defaults to max(biblionumber) # my $sth=$dbh->prepare("select max(barcode) from items"); # $sth->execute; # my ($maxbarcode) = $sth->fetchrow; # $maxbarcode++; # print STDERR "MaxBarcode: $maxbarcode \n"; The code that generated a new barcode as maxbarcode +1 has been commented out. I'm not sure why max(barcode) is broken just because barcode is a string value... ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
participants (1)
-
bugzilla-daemon@wilbur.katipo.co.nz