]> git.koha-community.org Git - koha.git/commit
Bug 20063: (bug 18811 follow-up) Allow hidden $9 subfields
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 17 Jan 2018 13:26:38 +0000 (14:26 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 23 Jan 2018 07:52:09 +0000 (08:52 +0100)
commit15d4f717ed9cdc8d974bc8429139a30c8194795e
treea8e560f57e99e622253e5ab0dd3468274f267ef4
parent8af1f9eb60bf87ed8e79dc5f43de111743fe808d
Bug 20063: (bug 18811 follow-up) Allow hidden $9 subfields

Although we could argue that the user should make all $9 subfields
visible, this might be a good compromise. It selectively reverts the
change from the first patch by accepting $9 subfields without checking
the hidden flag in the framework.

Test plan:
[1] Make a subfield $9 visible for some authority field.
[2] Put a value in it somewhere in authorities.pl
[3] Make subfield $9 invisible in the auth framework.
[4] Open and save the adjusted authority record.
[5] Check the marcxml of this record.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9c3eb146fa8ff22452f87afb12cb6de25ac00b5d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
authorities/authorities.pl