koha-devel
[Top][All Lists]
Advanced

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

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


From: bugzilla-daemon
Subject: [Koha-devel] [Bug 46] addbooks.pl and marcimport.pl don't autogenerate barcodes the same
Date: Thu Jun 27 09:26:47 2002

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

address@hidden changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|address@hidden          |address@hidden



------- Additional Comments From address@hidden  2002-06-28 04:17 -------
# Modified address@hidden 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.



reply via email to

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