[Koha-bugs] [Bug 28022] New: MARC subfield 9 not honoring visibility
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 23 12:15:05 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28022
Bug ID: 28022
Summary: MARC subfield 9 not honoring visibility
Change sponsored?: ---
Product: Koha
Version: 20.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: domm at plix.at
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
It is not possible to hide eg field 600 (and several more) in the editor,
because addbiblio.pl line 346 implements a special case (based on bug 2206,
according to a code comment there): If there is a subfield '9' and a subfield
'a', and subfield 'a' has an 'authtypecode' set, a 'marc_value' is set, which
seems to always force the display of the field (and subfield), even though none
of the 'visibility' checkboxes (and esp not "Editor") are set.
The special case seems to ignore 'visibility' / 'hidden' completely.
I don't know enough about Koha/MARC internals to assess if this is intended
behavior, but I would find it more sane if the condition would be changed to
actually use the value of the Editor-checkbox.
The only other way I found to actually disable / hide field 600 was to remove
the authtypecode from 600.a, which seems a bit harsh.
After reading more code in addbiblio.pl I see that this special case is
implemented in several places. So I assume / fear this is intended behavior,
and the correct "solution" is to in face remove the authtypecode?
Greetings,
Thomas Klausner
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list