[Koha-devel] bar code not unique

Paul POULAIN paul.poulain at free.fr
Thu Feb 3 07:39:13 CET 2005


T & J Kotula a écrit :
> Hi,
> 
> I remember reading on the list lately about the bar code not having to be
> unique. Well I would like to enforce it to be unique. I'm not a perl
> programmer, but I had a look in acqui.simple/additem.pl and I'm puzzled by
> the comment on line 81 saying "check for bar code # being unique". Could
> someone tell me what I need to do to make it verify the number being unique.

I just tried to enter a barcode already existing in one of my DB, and got a
ERROR : Barcode already exists !

So, the problem should be in parameters, not in codes.

I've MARC=ON, items.barcode is "connected" to a subfield (995j in my 
UNIMARC case), and activated in tab 10 (items)

-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)




More information about the Koha-devel mailing list