http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9921
--- Comment #7 from Nuño López Ansótegui <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
