[Koha-bugs] [Bug 30328] Add ability to generate barcode with library specific prefix

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 19 09:30:24 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30328

--- Comment #18 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
There are couple problems here. First, if incremental part of barcode is
generated by fetching max value from last added item, there is a change that a
duplicate barcode is generated. Using timestamp (yyyymmddHHMMSS) would probably
be an usable solution here, but we haven't tested this yet. 

Second is getting items home library. This requires creating an AJAX call,
which isn't problem itself. Problem is that Kohas way of generating barcodes
is... interesting. And complex. I tested this a little while ago and using AJAX
call advanced incremental part of barcode by 2 or even more. Which can cause
issues in large libraries when limit of monthly increment parts is filled
before end of month. But again, using timestamp could be useful here.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list