Bug 24698: Add plugin and template files for unimarc authority leader
authorGeorge Veranis <gveranis@dataly.gr>
Fri, 12 Mar 2021 11:51:57 +0000 (12:51 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 22 Oct 2021 13:50:32 +0000 (09:50 -0400)
commitc692a8334c4345a5379005650d9c706dde9eabfc
tree6c635e1577d52e3eb787a4ce1006848abca60659
parente83bc20ea39ee5a24269d68df6887c181ef2d66f
Bug 24698: Add plugin and template files for unimarc authority leader

In Unimarc installations when adding/editing an authority record there is no
Tag Editor for the leader field ( 000 ).

This patch fixes that.

Test plan:

1) Try to catalogue a new authoritry and check if on field 000 you can find
the Tag Editor.
2) Apply the patch.
3) In the authorities framework view the subfields of field 000 and select for
plugin option the value unimarc_leader_authorities.pl.
4) Restart memcached / plack if needed.
5) Repeat step 1 and notice if the Tag Editor is visible and click it to open
new window in order to manage the field contents and press OK.
6) Check the value of the generated leader.

Signed-off-by: Esther <estherm@sodapsringsid.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
cataloguing/value_builder/unimarc_leader_authorities.pl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_leader_authorities.tt [new file with mode: 0644]