[Koha-bugs] [Bug 28022] MARC subfield 9 not honoring visibility

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 29 14:10:55 CEST 2021


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

--- Comment #3 from Thomas Klausner <domm at plix.at> ---
I have now implemented a patch that adds a workaround the the workaround (or
another corner-case to the corner-case?):

https://github.com/domm/Koha/commit/d19abcc23d5793becdd5edca26c4bd2d47fcd33f

In the three places where `cataloguing/addbiblio.pl` checks if the subfield `9`
has a subfield `a` with an `authtypecode`, I have added an additional check for 
subfield `a`->`hidden`.

This works insofar as the fields (tags) are now no longer shown in the editor
when subfield `a` does not have the `Editor` checkbox ticked.

But I have no idea if this has any implications on other parts of Koha.

So if somebody could please review the patch and comment on whether this the
patch is acceptable or not (or what needs to be changed), I'd be very grateful!

I'm also not really sure if you want the patch via a github pull request, or
via a plain old patch per mail (or some other way?)

Greetings,
Thomas Klausner

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


More information about the Koha-bugs mailing list