Bug 20711 - Previous fields are not cleared when selecting an authority in cataloguing
Summary: Previous fields are not cleared when selecting an authority in cataloguing
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-04 18:04 UTC by David Bourgault
Modified: 2023-06-21 14:14 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Bourgault 2018-05-04 18:04:03 UTC
When choosing an authority for a zone in the bibliographic notice editor, existing fields are not cleared.

So if I have a information in the subfields $a $v $9 and I import a authority notice with subfields $a $9 $x, the previous $v value is not cleared.
Comment 1 Marcel de Rooy 2018-05-14 07:59:59 UTC
(In reply to David Bourgault from comment #0)
> When choosing an authority for a zone in the bibliographic notice editor,
> existing fields are not cleared.
> 
> So if I have a information in the subfields $a $v $9 and I import a
> authority notice with subfields $a $9 $x, the previous $v value is not
> cleared.

Hi David,
We solved a similar (but not identical!) problem in AuthoritiesMarc::merge while updating biblio records for a changed authority. Merge now looks at the pref AuthorityMergeMode and in strict mode deletes the other fields (like $v above).
It sounds logical to me now to clear the fields too in the editor when you set this pref to strict mode.
But note historical behavior is 'loose' mode and default. And perhaps even closer to the MARC standard..

In short, we cannot delete the other values no-matter-what.