[Koha-devel] [Bug 46] addbooks.pl and marcimport.pl don't autogenerate barcodes the same

bugzilla-daemon at wilbur.katipo.co.nz bugzilla-daemon at wilbur.katipo.co.nz
Thu Jun 27 09:26:47 CEST 2002


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=46

tonnesen at cmsd.bc.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|chris at katipo.co.nz          |tonnesen at cmsd.bc.ca



------- Additional Comments From tonnesen at cmsd.bc.ca  2002-06-28 04:17 -------
# Modified saas at 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.




More information about the Koha-devel mailing list