[Koha-bugs] [Bug 27981] Add option to automatically set the 001 control number to the biblionumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 17 14:50:05 CEST 2021


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #15 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Marcel de Rooy from comment #14)
> +        unless($record->field('001')){
> +            $record->insert_fields_ordered(MARC::Field->new('001',
> $biblionumber));
> +        }elsif($record->field('001')->data() eq 'biblionumber'){
> +            $record->field('001')->update($biblionumber);
> +        }
> 
> Please explain.
> Why do you test eq 'biblionumber' ??
> Why not always overwrite 001 with $biblionumber if the pref is set ?

Similar to autobarcode or automembernum - we will default, but if you force a
new value we let it stand - I think allowing the librarian to force a different
number allows for collections that fall outside the norm.

It could be useful for an OAI set for instance

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


More information about the Koha-bugs mailing list