[Koha-bugs] [Bug 9921] Make it possible to force 001 = biblionumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 6 15:17:36 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9921

--- Comment #7 from Nuño López Ansótegui <nunyo at masmedios.com> ---
(In reply to comment #5)
> Interesting patch! Few questions: 
> 
> my $incrementalCN=C4::Context->preference('incrementalControlNumber');
> my $sth = $dbh->prepare(q{UPDATE systempreferences SET value = ? WHERE
> variable = 'incrementalControlNumber'});
> Wouldn't it be more safe to ask for a new incremental number in one call
> (concurrent users etc.) ?
> So, call a function, increment the number in the db rightaway, return the
> number, save it.
> 
> Copyright 2000-2002 Katipo Communications
> You add a new file with a 2000 copyright?
> You could strip what is not needed.
> 
> You create marc21_field_001.pl
> But it looks like this plugin could be of use for UNIMARC as well (same
> field)? 
> 
> Thanks.

Ok, Now the number is incremented and saved it before.

Copyright is now modified.

The plugin is only to MARC21, but the 001 is modified alike in UNIMARC when the
field is empty.

If someone wants to include the plugin in UNIMARC, forward.

Thanks.

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


More information about the Koha-bugs mailing list